Is there someone that can help me ? ----- Original Message ----- From: "S�bastien FOUTREL aka Tino" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 3:16 PM Subject: Newb Problem. (NAT)
> Hi, > > I am newbie with Iptables. > > I try to do a 3 way Firewall with IPtables. > > I have a eth0(LAN) with 10.0.0.0/24 > a eth1(Internet) with 1.2.3.114/30 > a eth2 (DMZ) with 1.2.3.126/28 > > I did a > > iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth1 -j MASQUERADE > iptables -A PREROUTING -t nat -d 1.2.3.118 -j DNAT --to 10.0.0.15 > > I can connect to 1.2.3.118 from Internet but if i want to access internet > from 10.0.0.15 I go outside with 1.2.3.114 > How to correct my rules to get outside acces with my NAT'ed' IP.? > >
