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.
No comments:
Post a Comment