Results 1 to 2 of 2
I've got the following rules setup iptables -A PREROUTING -t nat -j DNAT -p tcp -i eth0 -d 184.108.40.206 --to-destination 172.16.197.128 iptables -A POSTROUTING -t nat -j SNAT -o eth0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-03-2008 #1
- Join Date
- Jul 2008
iptables / forwarding
iptables -A PREROUTING -t nat -j DNAT -p tcp -i eth0 -d 220.127.116.11 --to-destination 172.16.197.128
iptables -A POSTROUTING -t nat -j SNAT -o eth0 -s 172.16.197.128 --to-source 18.104.22.168
iptables -I FORWARD -j ACCEPT -s 172.16.197.128
iptables -I FORWARD -j ACCEPT -d 172.16.197.128
So, this is for Solaris running on VMWare server (for grins and giggles).
Solaris can talk to the host OS and and the host OS can talk to Solaris in the VM
External forwarding, however is not working.
I've run into a brick wall trying to figure out what the problem is with these rules.
Any thoughts/solutions? I've got to be doing something completely daft.
Addendum: Can't do bridging because the network I'm on using MAC Security to stop people from ganking other IPs. I'm using host-only NAT forwarding.
- 07-04-2008 #2
- Join Date
- May 2008
- NYC, moved from KS & MO
What's the output of this command:
echo 1 > /proc/sys/net/ipv4/ip_forward