Am Do, den 01.12.2005 schrieb Rapid Sun um 8:00:
No HTML formatted list mails please.
Can anybody tell me how to use NAT in FC4?
Which step? Which commands? Suppose I have 2 ethernet cards.
Rapid
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
[ given here that ppp0 is the outgoing device ]
service iptables save
You need to have forwarding enabled too in /etc/sysctl.conf.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG
http://pgp.mit.edu 0xB366A773
legal statement:
http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 10:37:59 up 33 days, 8:38, load average: 0.26, 0.25, 0.17