i was install an fedora 9 at a virtual server with 2 interface (actual & virtual , eth0, eth0:1)
now i was tried to set up a NAT rules to translate an ip to other ip address (different network);
iptables -t nat -A PREROUTING -i eth0 -p tcp -s 10.8.1.10 --dport 80 -j DNAT --to 10.8.1.11
but it was not working. (i was accept all incoming and outgoing traffic at first row of policy)
any ideas what wrong?
thanks & best regards
First you should really think about upgrading to the latest version of Fedora. 9 is older hen dirt today. :)
Second you should be looking at the Tutorials for IPTABLES.
You are forwarding al 10.8.1.10 webreqeusts to the webserver on 10.8.1.11
Is that what you whant to do?
(You have to enable forwarding to - but i guess you have)