Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 17:59:27 -0500
From:      "G. Jason Middleton" <gmiddl1@gl.umbc.edu>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: how do i redirect or map ports with natd? 2nd round
Message-ID:  <Pine.SGI.4.31L.02.0103151758510.99529-100000@irix2.gl.umbc.edu>
In-Reply-To: <001901c0ada2$7375c8a0$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Gracious amigo!!!! I appreciate your help!

G. Jason Middleton




On Thu, 15 Mar 2001, Matthew Emmerton wrote:

> > 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
>

G. Jason Middleton


_______________________________________________________________________________






Announcement:

The revolution will not be televised.




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?Pine.SGI.4.31L.02.0103151758510.99529-100000>