I'm currently running 2.2.19 on an old 486 of mine that has been
doing a great job of running ipchains on it to masq (NAT) my dial-up
connection.  When I wanted to play a game online, however, I would
switch my dial-up to the Windows box and play it from there to avoid
any port forwarding issues.

Now that I've upgraded to cable, I plan to run my gw box all the time
and have been successful in forwarding ports to any game (Provided I
can FIND the correct ports.) that I wish to play though the gw.  For
most games using the following type of lines in my rc.firewall will
do the job.

# Unreal Tournament
# For Gameplay
ipmasqadm autofw -A -r udp 7777 7781 -v
# For the Master Server List
ipmasqadm autofw -A -r udp 27900 27900 -v

The nice thing about using autofw is that I do not have to specify a
target IP and thus anyone who plugs into my LAN will be able to play
UT over the LAN and on the internet.  The thing is thou, this formula
does not seem to carry over to one game, which happens to be my
favorite.  It's Age of Kings, and yes, go figure, it's a MS product.

This works:

port=2300
while [ $port -le 2400 ]
do
  /usr/sbin/ipmasqadm portfw -a -P tcp -L my.ip.is.here $port -R
192.168.0.23 $port
  /usr/sbin/ipmasqadm portfw -a -P udp -L my.ip.is.here $port -R
192.168.0.23 $port
  port=$((port+1))
done
/usr/sbin/ipmasqadm portfw -a -P tcp -L my.ip.is.here 47624 -R
192.168.0.23 47624
/usr/sbin/ipmasqadm portfw -a -P udp -L my.ip.is.here 47624 -R
192.168.0.23 47624

This does not:

ipmasqadm autofw -A -v -r udp 2300 2400
ipmasqadm autofw -A -v -r tcp 2300 2400
ipmasqadm autofw -A -v -r tcp 47624 47624
ipmasqadm autofw -A -v -r udp 47624 47624

Now I've done games such as UT the other way as well, using portfw to
manually forward each port to a specified internal IP, and that
works.  But as I said before, it does limit the game to being run
only on that IP and not across the whole LAN.

Any ideas on what the issue might be would be appricated.

--mjz

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to