Hey
I uncommented the lines for forwarding in the sysctl.conf and tested it with the rules, but it didn't work, the results stayed the same. The applications Webfrontend is hosted by IIS - should I be changing something in there as well?
Below is some output from iptables -S and L - maybe this helps to spot a problem (the destination it shows at the forwarder is the actual server name for the IP I am trying to forward to - quite cool that it could resolve it)
dmzgw:~# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A FORWARD -d 10.47.134.36/32 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
dmzgw:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere truxton.javadev.net state NEW tcp dpt:www
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Main Topics
Browse All Topics





by: eokePosted on 2009-09-01 at 02:58:59ID: 25229869
Hi, have you enabled ip forwarding in /etc/sysctl.conf?
ing=1
#net.ipv4.ip_forward=1
#net.ipv6.conf.all.forward
As I'm sure you know the # needs removing to uncomment the line.