Date: Tue, 19 Dec 2000 21:10:54 -0800 From: "Crist J. Clark" <cjclark@reflexnet.net> To: Thomas Uhrfelt <thomas.uhrfelt@plymovent.se> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG> Subject: Re: Redirect ports with NAT Message-ID: <20001219211054.K96105@149.211.6.64.reflexcom.com> In-Reply-To: <01C069C0.F0CA4900.thomas.uhrfelt@plymovent.se>; from thomas.uhrfelt@plymovent.se on Tue, Dec 19, 2000 at 01:38:14PM %2B0100 References: <01C069C0.F0CA4900.thomas.uhrfelt@plymovent.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 19, 2000 at 01:38:14PM +0100, Thomas Uhrfelt wrote: > I have an internal machine on the 192.168.10.10 adress which I want > accessable via telnet from the outside world. > > My gateway is a FreeBSD box providing internet access for all the internal > machines (192.168.1.254) and o.p.q.z as the outside static IP. ^ You use '192.168.10.10' below? > My commandline start for natd: > /sbin/natd -use_sockets yes -same_ports yes -u yes -dynamic yes -n ep0 > -redirect_port tcp 192.168.10.10:23 8888 -redirect_port udp > 192.168.10.10:23 8888 Doesn't that give you an error? # /sbin/natd -use_sockets -same_ports -u -dynamic -n ep0 -redirect_port tcp 192.168.10.10:23 8888 Or better yet, # /sbin/natd -n ep0 -f /etc/natd.conf # cat /etc/natd.conf use_sockets same_ports dynamic unregistered_only redirect_port tcp 192.168.10.10:23 8888 -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001219211054.K96105>