directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Vriesman" <linuxifica...@gmail.com>
Subject Re: setup apacheDS as a service in Linux
Date Thu, 22 May 2008 14:51:05 GMT
Hi,

I use the following two lines in /etc/rc.local

/etc/init.d/apacheds start default
/usr/local/scripts/ipt_dnat

where ipt_dnat is:

#!/bin/sh
iptables -t nat -F
iptables -t nat -A PREROUTING -i eth0 -d 192.168.203.250 -p tcp --dport 389
-j REDIRECT --to-port 10389
iptables -t nat -A PREROUTING -i eth0 -d 192.168.203.250 -p tcp --dport 88
-j REDIRECT --to-port 10088

the apacheds script is attached, but you probably already have it.

by the way, this doesn't stop the service at system shutdown


On Thu, May 22, 2008 at 4:20 PM, Pierre Smits <pierre.smits@gmail.com>
wrote:

> Does anyone know how to set up apacheDS 1.5.2 as a service in Linux?
>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message