Home » Linux OS and Software » Discussion » Port Forwarding
Sun, 13 July 2008 07:30
Registered: July 2008
Messages: 1
Hi all. I've some strange issue.

Two iptables rules (to forward port 80) that works fine for me, on my home pc does not work here

iptables -t nat -A PREROUTING -p tcp -d ${MY_VPS_IP} --dport 80 -j DNAT --to-destination ${DEST_IP}
iptables -t nat -A POSTROUTING -p tcp -s ${DEST_IP} --sport 80 -j SNAT --to-source ${MY_VPS_IP}

Where can be a bug? I can't find cardinal differences between my home pc's and vps's configurations
Previous Topic:hostip.info
Next Topic:VPS Startup Script
Goto Forum:

Current Time: Sat Jun 23 02:28:58 EDT 2018
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2006 FUD Forum Bulletin Board Software