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 208.109.234.83 --to-destination 172.16.197.128
iptables -A POSTROUTING -t nat -j SNAT -o eth0 ...
- 07-03-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 1
iptables / forwarding
I've got the following rules setup
iptables -A PREROUTING -t nat -j DNAT -p tcp -i eth0 -d 208.109.234.83 --to-destination 172.16.197.128
iptables -A POSTROUTING -t nat -j SNAT -o eth0 -s 172.16.197.128 --to-source 208.109.234.83
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 #2Linux User
- Join Date
- May 2008
- Location
- NYC, moved from KS & MO
- Posts
- 251
What's the output of this command:
If it's 0, do aCode:cat /proc/sys/net/ipv4/ip_forward
Code:echo 1 > /proc/sys/net/ipv4/ip_forward


Reply With Quote
