Results 1 to 3 of 3
Dear All:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-23-2010 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 23
iptables NAT
Dear All:
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
chusoon
- 06-23-2010 #2
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.
- 06-26-2010 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 4
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)


Reply With Quote
