how to break through the firewall?

BlitzMax Forums/BlitzMax Programming/how to break through the firewall?

slenkar(Posted 2008) [#1]
I have tried to use sockets to send a message along the port that I am using but that interferes with the GNET_LISTEN command
I also tried to use GNET_CONNECT with the host of the game to see if that opens the port but no success.
I can only play online if the host PC has no firewall, otherwise it doesnt recognize connections.


GfK(Posted 2008) [#2]
Two solutions:

1. Use port forwarding.
2. Use UPnP.


slenkar(Posted 2008) [#3]
hmm pretty complicated stuff
port forwarding is just for routers right?


jhans0n(Posted 2008) [#4]
Is the firewall on the host PC, or a separate device between the client and host PCs?

If it's on the host PC, when the app is fired up on that end, most software firewalls should prompt you about opening the port. If it's a separate device, you'll need to open a port on that device, or pick a port that is already allowed through that device.


slenkar(Posted 2008) [#5]
I was using a laptop that is connected to a wireless network,


I just tested it with windows firewall only...it works!

so its just the wireless network router giving problems


jhans0n(Posted 2008) [#6]
Yeah, then what Gfk said about the port forwarding should work.