Date: Thu, 15 Mar 2001 17:51:18 -0500 From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: "G. Jason Middleton" <gmiddl1@gl.umbc.edu>, <freebsd-questions@FreeBSD.ORG> Subject: Re: how do i redirect or map ports with natd? 2nd round Message-ID: <001901c0ada2$7375c8a0$1200a8c0@gsicomp.on.ca> References: <Pine.SGI.4.31L.02.0103151733010.102252-100000@irix2.gl.umbc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> i have > internal web and ftp servers plus i play startcraft which uses 116-118, & > 6112 for transfer of UDP and TCP/IP. How can i redirect these to the > correct computers in my internal network? I use a setup like this: In /etc/rc.conf: natd_flags="-f /etc/rc.firewall.natd" In /etc/rc.firewall.natd: redirect_port tcp 192.168.0.3:20-21 20-21 redirect_port tcp 192.168.0.3:80 80 This causes natd to redirect any incoming traffic on ports 20, 21 and 80 to one of my internal machines. You can set up similar rules for starcraft's tcp/udp traffic. 'man natd' explains all of this in rather gory detail, although the explanation of how to do this via a configuration file (instead of command-line options) is *very* brief. -- Matt Emmerton 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?001901c0ada2$7375c8a0$1200a8c0>