Alpha Centauri Forums
  Support and Troubleshooting
  SMAC & firewalls/ipmasq

Post New Topic  Post A Reply
profile | register | prefs | faq | search

Author Topic:   SMAC & firewalls/ipmasq
omere posted 04-23-99 03:32 PM ET   Click Here to See the Profile for omere  
Hi,
Anyone knows what needs to be done in order to play SMAC on a machine that has a masqueraded connection (NAT) thru a linuxbox?
What ports need to be forwarded, udp/tcp etc.

Thanks,
OE.

buran posted 04-25-99 01:51 AM ET     Click Here to See the Profile for buran    
These are the lines that work for me. Please note that the IP address needs to match that of your machine on your network. To get this information, select Run from the Start menu, type "winipcfg", and look on the resulting dialog box. Then, change the address in these lines to match.

Enter the lines one by one (except the first, which is a comment) at the command prompt, then try a multiplayer game once all of the lines are entered - or, to enable this configuration, place them in a file executed every time your Linux box boots.

For me, this is /etc/rc.d/rc.local.

I'm not entirely sure if the first port forwarding line is necessary, but it doesn't seem to hurt anything.

If you don't have ipautofw, try looking at http://www.linux.org to find out where to get it.

# Alpha Centauri
ipautofw -A -r tcp 47624 47624 -h 192.168.0.2
ipautofw -A -r tcp 1000 5000 -h 192.168.0.2
ipautofw -A -r tcp 1000 1095 -h 192.168.0.2
ipautofw -A -r udp 1000 1029 -h 192.168.0.2
ipautofw -A -r udp 1031 2210 -h 192.168.0.2
ipautofw -A -r udp 3214 5000 -h 192.168.0.2
ipautofw -A -r udp 40000 60000 -h 192.168.0.2

ATTN FIRAXIS: I highly recommend posting this information permanently on the SMAC web site, as I'm sure it's a common query. I looked for a while, unsuccessfully, before I found the configuration that worked properly with DirectPlay.

Thread ClosedTo close this thread, click here (moderator or admin only).

Post New Topic  Post A Reply
Hop to:

Contact Us | Alpha Centauri Home

Powered by: Ultimate Bulletin Board, Version 5.18
© Madrona Park, Inc., 1998.