Date: Tue, 14 Dec 2004 08:08:01 -0500 (EST) From: Paul Culmo <pculmo@obs2.net> To: Didier Wiroth <didier.wiroth@mcesr.etat.lu> Cc: freebsd-questions@freebsd.org Subject: Re: ftp-proxy, how to bind to localhost only addres Message-ID: <Pine.LNX.4.44.0412140805570.20798-100000@ragnaroklnx.obs2.net> In-Reply-To: <3cf46389.41bee0da@etat.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0412140805570.20798-100000>