I'm trying to set set up IP masquerading. The gateway box gets its ip address
via dhcp on eth0. eth0:0 is set up on the internal network.
Having run:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
I now have:
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
>From the internal machine, I can ping any address in the network and the outside
world, but cannot connect to a machine by IP address over SSH or a website by
IP. I have allowed all ports to have access in IPTables, but no luck. Not sure
how else to debug. Need any other info?
Thanks
Ben
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list