Results 1 to 2 of 2
hai,
i am new to linux world... pls help me..
i have a problem........ How to redirect local http port to remote ip address(192.168.10.64) using iptables..my destro is Centos 5.3
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-26-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 2
redirect local http port to remote machine
hai,
i am new to linux world... pls help me..
i have a problem........ How to redirect local http port to remote ip address(192.168.10.64) using iptables..my destro is Centos 5.3
my rule is this
iptables -t nat -A PREROUTING -s 0/0 -d <my local ip> -p tcp --dport 80 -j DNAT --to-destination 192.168.10.64
thanks in advance........
- 05-26-2010 #2
Hi & welcome to this forum.
This question is often asked and the answer is always the same. Please use the search function or ask google in the first place:
http://www.linuxforums.org/forum/lin...-firmware.html
PORT FORWARDING
Port-weiterleitungen bei OpenWRT
Port forwarding for iptables (DMZ)
Just to mention a few good resources.


Reply With Quote
