NAT Traversal

NAT Traversal

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
RusMolot
Posts: 6
Joined: 24 Dec 2008, 05:57

NAT Traversal

Post by RusMolot »

Hello all,

I just joined the forums to ask if anyone knew how to host without hole punching from behind a firewall/router.

I have access to the router and I know how to allow/deny traffic on a port. I don't know if that's the same as port forwarding. If it is then great, if not - I'll do some searching to find out how to do that.

The main problem with hole punching is that not everyone can connect, and every time someone gets dropped I feel like an a$$. I already opened traffic on the port I am trying to host on. Even so, I can only host with hole punching on.

M
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: NAT Traversal

Post by malric »

Did you open the port for UDP traffic ?
RusMolot
Posts: 6
Joined: 24 Dec 2008, 05:57

Re: NAT Traversal

Post by RusMolot »

yes, but still I can only host with hole punching, everything else fails :cry:
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: NAT Traversal

Post by malric »

Does your routers has a 'real' IP address ? (maybe you ISP connects you through NAT). In case it doesn't you can't do much....
RusMolot
Posts: 6
Joined: 24 Dec 2008, 05:57

Re: NAT Traversal

Post by RusMolot »

i have a static ip if that is what you mean.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: NAT Traversal

Post by malric »

I mean routable ip... (you can have for example a static class C ip for the router like 192.168.0.1 - that wouldn't help).

I just reread your first post. I do not think opening a port is equivalent to port forwarding. There should be a special configuration of your router (and I guess every router would name it differently). Maybe you can tell us the router model and someone else has the same type....
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: NAT Traversal

Post by Pressure Line »

http://www.portforward.com should tell you everything you need to know (including router specific information [unless you have a very obscure router])
RusMolot
Posts: 6
Joined: 24 Dec 2008, 05:57

Re: NAT Traversal

Post by RusMolot »

i use a gateway pc computer as my firewall and server, so port portforward.com doesn't really help.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: NAT Traversal

Post by Pressure Line »

looks like hole punching is the only option. ime, there are not that many people that cannot connect to a hole-punched server. you cannot account for every possible user setup on your host, they just gotta deal (and surely they must know if they have trouble connecting to a nat enabled host)

you could also run the autohost off the gateway computer...
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: NAT Traversal

Post by malric »

So you should setup port forwarding on your router and on your gateway computer... It would be possible, but is it worth the trouble ?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: NAT Traversal

Post by aegis »

it would be easy
RusMolot
Posts: 6
Joined: 24 Dec 2008, 05:57

Re: NAT Traversal

Post by RusMolot »

aegis wrote:it would be easy
sure... if I knew how.

if you know how to port forward on a FreeBSD-based apache server running ipfirewall, I'd be very grateful if you shared the knowledge
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: NAT Traversal

Post by aegis »

why are you running your internet through a webserver running freebsd and ipfirewall if you don't know how to use it? :P


does it still call NAT/forwarding "divert" rules?
RusMolot
Posts: 6
Joined: 24 Dec 2008, 05:57

Re: NAT Traversal

Post by RusMolot »

My dad set it up that way. I just punch holes in it when I need to, and then cover them back up after I'm done with them.
Post Reply

Return to “Help & Bugs”