Displaying 1 result from an estimated 1 matches for "win_internal_ip".
Did you mean:
win_external_ip
2009 Oct 05
1
Can't get forwarding to work
...windows machine.
I have tied a public IP address a.b.c.d to the
linux machine and entered these rules in its
firewall:
/sbin/ifconfig eth0:1 $WIN_EXTERNAL_IP netmask $ETH0_NETMASK broadcast
$ETH0_BCAST
/sbin/iptables -t nat -A PREROUTING -p tcp -i eth0 -d $WIN_EXTERNAL_IP
--dport 80 -j DNAT --to $WIN_INTERNAL_IP:80
/sbin/iptables -A FORWARD -p tcp -i eth0 -d $WIN_INTERNAL_IP --dport 80 -j
ACCEPT
I have this log entry at the bottom of the firewall rules:
/sbin/iptables -A FORWARD -j LOG --log-prefix "FORWARD "
When I try to go to the external IP address http://a.b.c.d from
another network, I ge...