[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ADSL and iptables (SNAT config)




(asking for someone I know)

  Hi,



   Assuming the following setup:

An office, running network 192.168.0.0/24. (all machines sittin' on a
switch).
A linux firewall, with 2 eth interfaces, eth0 connected to the LAN, eth1
connected to the ADSL thingie. (192.168.0.1 on eth0 towards LAN,
10.200.1.1 on the eth1, while the ppp0 is getting a static actcom
address).

Now, we wanna do NAT. So, we translate everything coming from
192.168.0.0/24 to the address of ppp0. The problem is that the second
iptables goes up, the adsl connectivity to actcom crashes.

I had a few theories (didn't have a chance to debug the problem in real
time yet), among which is that the iptables may be actually dropping the
connectivity between the eth1 interface (10.200.1.1) and the bezeq
internal adsl network.

Has anyone tried such a setup, with full NAT, using a static ip that you
get from an adsl supplier (I assume the fact the IP is static or not
doesn't matter here).


--Ariel

--
Ariel Biener
e-mail: ariel@post.tau.ac.il
PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il