Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 16:40:23 -0600 (CST)
From:      Ryan Thompson <freebsd@sasknow.com>
To:        "Fred J. Lomas" <aj@8hill.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Natd
Message-ID:  <Pine.BSF.4.10.10002151629100.63285-100000@sasknow.com>
In-Reply-To: <38A9CAE2.AFF3BE56@8hill.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Feb 2000, Fred J. Lomas wrote:

> Cool, that side is cool all that works , what I want to be able to do is
> come from the internet to my Internal LAN through a NT terminal server
> client and I want to be able to put my game server online which is on my
> NT box and setup a FTP server. so i guess I need to tell it when I come
> in through the WAN IP to forward it to the certain ports on the NT box,

From NATD(8):

     -redirect_port proto targetIP:targetPORT [aliasIP:]aliasPORT
      [remoteIP[:remotePORT]]
		 Redirect incoming connections arriving to given port to an-
		 other host and port.  Proto is either tcp or udp, targetIP is
		 the desired target IP number, targetPORT is the desired tar-
		 get PORT number, aliasPORT is the requested PORT number and
		 aliasIP is the aliasing address.  RemoteIP and remotePORT can
		 be used to specify the connection more accurately if neces-
		 sary.	For example, the argument

		 tcp inside1:telnet 6666

		 means that tcp packets destined for port 6666 on this machine
		 will be sent to the telnet port on the inside1 machine.


> Im just not sure about how to do that I need to tell it to go from
> x.x.x.x to the internal LAN which is 192.168.101.12:27015 which is my
> game server am I making sense or just confusing my self more.... HAHA!
> thanks for your help too 

Your description WAS a bit confusing... Perhaps you can clarify with some
examples what you are trying to do.  For example, in /etc/natd.conf of
the machine that will be doing the nat:

redirect_port tcp 192.168.101.12:27015 27015

I haven't tested it, but that should redirect all connections directed at
your (FreeBSD) machine that is doing the NAT to your game server on the
internal lan (192.168.101.12) from port 27015 to port 27015.

--
  Ryan Thompson <ryan@sasknow.com>	50% Owner, Sysadmin
  SaskNow Technologies     		http://www.sasknow.com
  #106-380 3120 8th St E   		Saskatoon, SK  S7H 0W2



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.BSF.4.10.10002151629100.63285-100000>