Firewall Problems
V_MAN
V-MAN Join Date: 2002-11-03 Member: 6217Members, Constellation
<div class="IPBDescription">Need a little help or some suggestions</div> Basically the problem involves me using my PS2 online via the PC using Internet connection sharing, the PS2 requires certain ports to be open which are blocked it seems by my firewall which is the free zone alarm one and I can't open ports at all with this firewall. If fact the ports seem to be blocked by default even with the firewall off.
If I shut down the Zonalarm firewall and start up the Windows XP Pro SP2 firewall, then manually open the ports required for the PS2 games then I get some success. However it appears I can only open individual ports using this firewall, for all my online PS2 games to work I need to be able to open a range of ports for example; 40000 to 42900 :/ is there a way to open a range of ports all at once using the windows firewall? Because I can't be arsed to manually open 3000 ports.
Or is there another firewall available that will let me do this, preferably a free one.
If I shut down the Zonalarm firewall and start up the Windows XP Pro SP2 firewall, then manually open the ports required for the PS2 games then I get some success. However it appears I can only open individual ports using this firewall, for all my online PS2 games to work I need to be able to open a range of ports for example; 40000 to 42900 :/ is there a way to open a range of ports all at once using the windows firewall? Because I can't be arsed to manually open 3000 ports.
Or is there another firewall available that will let me do this, preferably a free one.
Comments
Yeh but with the firewall off it won't work at all, it's like the ports are blocked by default the only way I know of to open them is using a firewall.
Yeh but with the firewall off it won't work at all, it's like the ports are blocked by default the only way I know of to open them is using a firewall. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
This is because ICS uses NAT. The ports arent being blocked, they just aren't being forwarded. You see, NAT (Network Address Translation) works by using only 1 globally unique IP address for your entire network, it does this by translating internal private IP addresses as they pass through, and keeping track of what ports are being used to request data and forwarding the request when it arrives. The reason this sin't working for your PS2 is that it is not opening outgoing connections on those ports, but instead listening for incoming connections. Since they aren't outgoing connections they never pass through and the NAT doesn't know about them.
So how does this help you? I have no idea. I use a customized Linux firewall/router and have never used ICS. However, very preliminary googling suggests that <a href='http://www.practicallynetworked.com/sharing/ics/icsconfiguration.htm' target='_blank'>this</a> might be of use to you.
Anyhoo, I wrote a simple sample script you can run which would do what you're talking about and prevent the boredom of adding the ports by hand:
<i>for /L %i IN (40000,1,42900) DO netsh firewall add port ALL %i PS2PRT%i</i>
This will run the netsh command in a FOR loop and add port exceptions for TCp/UDP ports from 40000-42900, naming the exceptions PS2PRT and the port number.
1. Should be run from a CMD prompt.
2. If you only need TCP ports (andnot any UDP), change 'ALL' to 'TCP'.
<!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->