PDA

View Full Version : Server behind a NAT router


kharick
25-03-2004, 01:33
Can you please help me setup a server behind a NAT router? DO I really need that firedaemon program teh FAQ says? I can get a server running and ppl on my LAN can join the server but noone can join using my WAN IP.
I tried making a static maping of udp prot 8767 from my outside address to my inside addy and that didnt work, tried to setup my pc in my dmz and that didnt work... so any suggestions?

Or does it even work at all?

madcat
25-03-2004, 01:52
forwaring port 8767 should work, i had it runnning on my desktop some time before switching to linux.

i guess you do someting wrong.. read your routers manual again and you should be able to fix it.

pim
25-03-2004, 08:34
and start reading up/searching these forums, there's about a zillion threads on this

kharick
25-03-2004, 17:59
I did read the forums for 2 hrs and all i found was that ppl shoudl read the FAQ and after 20 min I foudn this most wonderful magical document that helped as much as a monkey holding my hand!

madcat
25-03-2004, 18:38
search for "firewall AND router AND NAT" and you will find what you seek.
also include your router name or use google.

when i seeked i found this:
http://www.teamspeak.org/forums/showthread.php?s=&threadid=10364&highlight=firewall+AND+router+AND+NAT
http://www.netopia.com/en-us/equipment/tech/c_faq.html#ph_no_3
http://www.netopia.com/en-us/equipment/tech/c_faq.html#nat_no_1

those were helpfull for me, but okey . here we go again

if you use linux as firewall (i doubt it) you have to do this:
iptables -t nat -A PREROUTING -p tcp -d outsideIP --dport 8767 -j DNAT --to <insideIP>: 8767

i don't know it for your router, but goto an option "NAT" or "port forwarding" or whatever it's called on your router setup page and forward all ports from your port 8767 to "<insideIP>:8767"