Is there a way to realize the following (doesnt work - just to show you what i mean):
 
iptables -t nat -A PREROUTING -p udp --dport 80 -i eth0 -j DNAT --to 192.168.0.11:80
iptables -t nat -A PREROUTING -p udp --dport 80 -i eth0 -j DNAT --to 192.168.0.11:80
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 
so in case host 192.168.0.11 is not responding the host 192.168.0.11 is tried.
 
Im not very experienced with netfilters yet so im not sure if this is possible.. please help.
 
Ingo Bartel
 
 

Reply via email to