Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 12:47:22 +0100
From:      Didier Wiroth <didier.wiroth@mcesr.etat.lu>
To:        freebsd-questions@freebsd.org
Subject:   ftp-proxy, how to bind to localhost only addres
Message-ID:  <3cf46389.41bee0da@etat.lu>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3cf46389.41bee0da>