Date: Tue, 15 Feb 2000 15:43:03 -0800 From: "Fred J. Lomas" <aj@8hill.com> To: Ryan Thompson <freebsd@sasknow.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Natd Message-ID: <38A9E487.CAF8095F@8hill.com> References: <Pine.BSF.4.10.10002151629100.63285-100000@sasknow.com>
next in thread | previous in thread | raw e-mail | index | archive | help
so that command you sent me where would I add that at, I checked for that natd.conf and I don't have it, this version of bsd has been tweaked out, but the ipfw and natd stuff is standard bsd version 2.2.7 , so if you need more if a description I can send you exactly what I am trying to do and my whole setup . sorry I am really trying to get the hang of this, please be patient with me people, I am a total NEWBIE!! Ryan Thompson wrote: > > 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?38A9E487.CAF8095F>