ftp-proxy, how to bind to localhost only addres
Paul Culmo
pculmo at obs2.net
Tue Dec 14 05:00:03 PST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 14 Dec 2004, Didier Wiroth wrote:
> 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
Have you tried changing the * to 127.0.0.1 i.e
root inetd 2756 4 tcp4 127.0.0.1:8021
- --
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFBvuW1EdHRTqP1dMMRAgR2AJ432uJSNkP64W+mCxitNQH5KMn0mgCffOEs
aZk2ElfTeYx/LE5KiBej1Ag=
=YiYW
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list