ftp-proxy, how to bind to localhost only addres

Didier Wiroth didier.wiroth at mcesr.etat.lu
Tue Dec 14 03:47:29 PST 2004


hi,
I installed freebsd5.3 on my soekris box.
I'm using pf with ftp-proxy (started from inetd).  I would like to bind the ftp-proxy to "only listen" to the localhost. Actually it listens to all adresses.
root     inetd      2756  4  tcp4   *:8021  

How can I do this? 

In openbsd you set  this in inetd.conf:
127.0.0.1:8021 stream tcp       nowait  root    /usr/libexec/ftp-proxy ftp-proxy -u proxy -n -m 55000 -M 57000 -t 180

But how on freebsd?

thanks a lot
didier





More information about the freebsd-questions mailing list