Announcement

Collapse
No announcement yet.

TCP/IP & Firewalls - Help Please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TCP/IP & Firewalls - Help Please

    Hi all

    I finally got my friend hooked on playing AC. We played a few times over the summer when he was over. We had used a crossover cable for a direct connection back then, and it worked great. Now he's on the other side of the state, so a direct dialup connection between the two computers is impossible (phone bill).

    So we tried tcp/ip. It doesn't matter if it's me or if it's him hosting. We both cannot find the hosted game. Now I did a little poking around last night and found out that we both have firewalls built into the router (mine is a linksys and his is a d-link). So I do a lot of searching all over this site and the internet, but I can't seem to find any mention at all for which ports I need to set for port forwarding. Anybody have any luck getting tcp/ip games to work behind firewalls? Any help would be appreciated.

    Warren

  • #2
    Mhh if noone answers you should try asking in the Mutliplaying section.

    but I took a look arround and found over this
    http://www.stack-style.org/SidGame/netgame.html
    this Page: http://faqs.lokigames.com/smacfaq.html#111
    which states:
    11.1 Behind a Firewall/Masq Server


    There should be no difficulties joining a game from behind a firewall or while being IP masqueraded.
    Hosting from behind a firewall is a little tricker. Basically, the masqing firewall needs to include port forwarding. For details, try the HOWTO (http://www.linuxdoc.org/HOWTO/IP-Mas...tml#Forwarders).

    Assuming that everything is configured as required, you need to forward the necessary UDP ports from your firewall to your internal machine. The examples below assume a 2.2.x kernel.

    ipmasqadm portfw -a -P udp -L 1.2.3.4 32292 -R 192.168.100.4 32292
    ipmasqadm portfw -a -P udp -L 1.2.3.4 32293 -R 192.168.100.4 32293
    ipmasqadm portfw -a -P udp -L 1.2.3.4 32294 -R 192.168.100.4 32294
    ipmasqadm portfw -a -P udp -L 1.2.3.4 32295 -R 192.168.100.4 32295
    ipmasqadm portfw -a -P udp -L 1.2.3.4 32296 -R 192.168.100.4 32296

    Here, 1.2.3.4 is the external address on the firewall. 192.168.100.4 is the internal address of my local machine. 32292-32296 are the ports used by SMAC.
    Special thanks to Walt, from the SMAC list, for this tip!
    On a second Look I doubt this does help. (Lx)
    Curse your sudden but inevitable betrayal!

    Comment

    Working...
    X