Hello,
Thank you for your answers but I'm probably missing something because the 
instance is not started at bootup

# ls -l /etc/rc.d/ftpreverseproxy
lrwxr-xr-x  1 root  wheel  18 Jan 18 20:43 /etc/rc.d/ftpreverseproxy -> 
/etc/rc.d/ftpproxy# grep reverse /etc/rc.conf.local
ftpreverseproxy_flags="-D7 -v -R 10.1.1.1 -p21 -b 3.1.1.1"

However I can start it manually like this# /etc/rc.d/ftpreverseproxy start

So this is not executed during the boot sequence.

Thank you




    Le jeudi 18 janvier 2018 à 11:57:34 UTC+1, Mathieu BLANC 
<[email protected]> a écrit :  
 
 Le 17/01/2018 à 22:24, Mik J a écrit :
> Hello,
> I'd like my firewall to start two instances one for ftp proxy and one for ftp 
> proxy.So far I have in rc.confftpproxy_flags="-D7 -v -p 8021"
>
> I can run manually/usr/sbin/ftp-proxy -D7 -v -R 10.1.1.1 -p21 -b 3and the 
> reverse proxy works
> But I would like these to instance to start automatically
> I tried this but it didn't 
> workhttp://misc.openbsd.narkive.com/Highrohk/multiple-instances-of-ftp-proxy
> Thank you
>

Hello,

# ls -l /etc/rc.d/ftpproxy_xxxx
[...] /etc/rc.d/ftpproxy_xxxx -> /etc/rc.d/ftpproxy
# ls -l /etc/rc.d/ftpproxy_yyyy
[...] /etc/rc.d/ftpproxy_yyyy -> /etc/rc.d/ftpproxy

# grep ftp /etc/rc.conf.local
ftpproxy_xxxx_flags=-R 172.16.129.10 -p 8035
ftpproxy_yyyy_flags=-R 172.16.129.24 -p 8036

(or whatever options you need)

I was pretty sure i read this in man pages but i don't find where at the 
moment.

  

Reply via email to