RE: Masquerade stopped working?!?!

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

 



Have you done any logging?
If your linux box can browse then the problem is the linux box.
check that ip forwarding is working and that there's is absolutely no
packets being dropped by mistake and that it's forwarding..

The only other thing possible is that the MTU could be too high and needs to
be lowered if the workstations are at 1500 and your linux is at 1400 or
there abouts.. try forcing all MTUs to a lower value.. (research it on
google).

-----Original Message-----
From: netfilter-admin@xxxxxxxxxxxxxxxxxxx
[mailto:netfilter-admin@xxxxxxxxxxxxxxxxxxx]On Behalf Of dummy1@xxxxxxxxx
Sent: Sunday, August 03, 2003 6:41 PM
To: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: Masquerade stopped working?!?!


I have a standard home network configuration:

my local network 10.1.1.0/24
            |
            |
    eth1 10.1.1.1
+----------------------+
|my firewall/router box|
+----------------------+
   eth0 192.168.1.92
            |
            |
      192.168.1.1
+----------------------+
|     foreign ISP      |
+----------------------+
            |
            |
         Internet

To connect coumputers from my local network to the internet I used
iptables and masquerade (snat was working to). Everything was
working fine since one day. Suddenly, about one week ago, machines
from local network have stopped seeing Internet, but my box is
working fine. I suspect my ISP doing some nasty dirty tricks. Is it
possible that ISP can recognize packets which are coming from my
local network and drops it? And how should I configure my box to go
around this problem? Please help! I spend a couple of days browsing
Internet and reading tons of documention and still know nothing.

I give you some more details what I have tested. Maybe it helps you
to find out what the problem is.

As I said everything is working fine on my box. Local network is
working fine too. From local machine I can see my box. Problem
starts when I want anything from internet. Nothing was working:
ping, http, dns... So I thought the problem is that local machine
can't see machines from internet because host names are not
resolved. I have installed bind (dns server) on my box. Then dns
starts working. And pings are working to the foreing hosts, but
nothing else. Browser finds host and no data is received, ssh can't
connect, and so on. What is going on?
I have some firewall rules on my box. To be sure I removed them all
but one:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Any suggestion? Who can help?

I know very well iptables and netfiltering. I create many firewalls
with diffrent configurations. In this case I am fool.

Jakub








[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux