Results 1 to 2 of 2
I have a server set up which gets my wireless signal and puts that out onto the LAN. I have that working sucessfully, however I need to open some ports ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-02-2006 #1
Forwarding Ports on NAT (solved)
I have a server set up which gets my wireless signal and puts that out onto the LAN. I have that working sucessfully, however I need to open some ports on one of the computers on the LAN to play a game. How would I open the ports to the cmoputer?
Setup:
Wireless Router ----(wireless)---- NAT server--(wire)--computer that needs ports openRegistered GNU/Linux User #399198
'Experience is something you don't get until just after you need it.' -Steven Wright
- 06-03-2006 #2
Hey, atfer 1.5 hours googleing I solved it, for anyone else with this problem all I had to do was the following commands for every port I needed:
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 6118 -j DNAT --to-destination 192.168.2.1:6118
and
iptables -A FORWARD -s 192.168.2.1 -p tcp --dport 6118 -j ACCEPTRegistered GNU/Linux User #399198
'Experience is something you don't get until just after you need it.' -Steven Wright


Reply With Quote
