I have been running my computers behind a MASQ'd RH 5.2 box now for 
the past few weeks and everything works GREAT!  I cant believe I was 
running Wingate on a windows machine and cussing it out every day for 
locking up the Internet connection, when Linux is soooo stable...

I keep a LEATHER-BOUND copy of the latest IP Masq Resource near the 
computer at all times now ( http://ipmasq.cjb.net/ ) :-o

I have been wanting to run a few games servers on one of the computers 
behind the MASQ'd machine.  I have been reading many FAQ's and 
HOWTO's.  but none of them really show me how to setup the MASQ'd 
machine to correctly forward the ports (TCP/UDP??).  Now I am new to 
linux, but I do enjoy the reading so I have figured out how to compile 
the support into the 2.0.36 kernel, etc... Which I have done...BUT! 
Here is my problem:

I have the Game Servers running fine on a Windows9x box behind the 
MASQD machine.  If Im on the local network 192.168.0.xx I can SEE and 
CONNECT to any of the game servers just fine.

Now, the strange thing is that people on the OUTSIDE of the local 
network CAN CONNECT to the servers, BUT, they do not show up in 
anybodys GameSpy Server lists.

Also If I try to connect to the QuakeWorld server on the Windows9x 
machine with the IP address:   192.168.0.125, I connect fine, if I am 
on the same net 192.xxx.xxx.xxx, but If I try to connect to the 
EXTERNAL Internet IP, 207.105.100.100 then I cannot get thru???

Here's my "rc.firewall" setup to show you how I am forwarding ports 
etc...

Basically I want these game servers to send/recieve all info as if 
they had their own STATIC IP's.  And Since I only have one Static IP, 
I had to keep them behind the MASQ'd Box...

The setup is as follow:

QuakeWorld Server is on 192.168.0.125    port 27009
Half-Life Server is on 192.168.0.125     port 28009
Tribe Server is on 192.168.0.125         port 29009

I kept the ports off the DEFAULT port #'s so that my other computers 
would be able to connect out to the Internet Games... :-)


Linux BOX EXTERNAL IP is:    207.105.100.100
(eth0)

Linux BOX INTERNAL IP is :    192.168.0.50
(eth1)

Game Server machine is:    192.168.0.125

All are under 255.255.255.0

Now I compiled IPPORTFW, and LooseUDP into my RedHat 5.2 kernel.

I setup my rc.firewall config like this:

#QuakeWorld
/usr/local/sbin/ipportfw -A -t 207.105.100.100/27009 -R 
192.168.0.125/27009

#Half-Life
/usr/local/sbin/ipportfw -A -t 207.105.100.100/27009 -R 
192.168.0.125/27009

#Tribes
/usr/local/sbin/ipportfw -A -t 207.105.100.100/28009 -R 
192.168.0.125/28009


I think I setup port forwarding correctly? Does that look correct?


Should I switch over to IPAUTOFW? I have heard that this can crash the 
linux box? If its easier to understand, I can switch and just reboot 
the Linux Box each day?

If I do switch over to IPAUTOFW? or even if I dont? Is there a better 
command line I should use in my rc.firewall?


Ok, thanks for the great mailing list and taking the time to look this 
over...

Ok, if you need more info please mail m

_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to