Page 1 of 1
NAT Traversal
Posted: 24 Dec 2008, 06:03
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
Re: NAT Traversal
Posted: 24 Dec 2008, 10:25
by malric
Did you open the port for UDP traffic ?
Re: NAT Traversal
Posted: 24 Dec 2008, 10:36
by RusMolot
yes, but still I can only host with hole punching, everything else fails

Re: NAT Traversal
Posted: 24 Dec 2008, 10:47
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....
Re: NAT Traversal
Posted: 24 Dec 2008, 12:05
by RusMolot
i have a static ip if that is what you mean.
Re: NAT Traversal
Posted: 24 Dec 2008, 14:43
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....
Re: NAT Traversal
Posted: 25 Dec 2008, 06:50
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])
Re: NAT Traversal
Posted: 25 Dec 2008, 08:24
by RusMolot
i use a gateway pc computer as my firewall and server, so port portforward.com doesn't really help.
Re: NAT Traversal
Posted: 25 Dec 2008, 10:53
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...
Re: NAT Traversal
Posted: 27 Dec 2008, 00:25
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 ?
Re: NAT Traversal
Posted: 27 Dec 2008, 00:51
by aegis
it would be easy
Re: NAT Traversal
Posted: 27 Dec 2008, 01:28
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
Re: NAT Traversal
Posted: 27 Dec 2008, 01:46
by aegis
why are you running your internet through a webserver running freebsd and ipfirewall if you don't know how to use it?
does it still call NAT/forwarding "divert" rules?
Re: NAT Traversal
Posted: 27 Dec 2008, 03:22
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.