All of lore.kernel.org
 help / color / mirror / Atom feed
* Masquerade stopped working?!?!
@ 2003-08-03  8:40 dummy1
  2003-08-03 12:33 ` George Vieira
  0 siblings, 1 reply; 12+ messages in thread
From: dummy1 @ 2003-08-03  8:40 UTC (permalink / raw)
  To: netfilter

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






^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: forwarding based on hostname
@ 2003-08-03 22:07 George Vieira
  0 siblings, 0 replies; 12+ messages in thread
From: George Vieira @ 2003-08-03 22:07 UTC (permalink / raw)
  To: Ian McBeth; +Cc: netfilter

Are you allowing DNS? Are you clients able to make DNS requests from behind the firewall?

Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au

Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au
 

-----Original Message-----
From: Ian McBeth [mailto:imcbeth@telus.net]
Sent: Monday, August 04, 2003 6:44 AM
To: 'Daniel Chemko'
Cc: netfilter@lists.netfilter.org
Subject: RE: forwarding based on hostname


Hey 

I am not using the domain name to connect to the mail server that is
hidden behind the Nat firewall box as I can not connect to it with the
domain name but I can connect to it via the IP address.  What am I doing
wrong?

Thanks



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-08-04  7:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-03  8:40 Masquerade stopped working?!?! dummy1
2003-08-03 12:33 ` George Vieira
2003-08-03 16:06   ` dummy1
2003-08-03 16:42     ` Chris Wilson
2003-08-04  7:11       ` dummy1
2003-08-03 17:32     ` Alistair Tonner
2003-08-03 18:12       ` dummy1
2003-08-03 20:09   ` forwarding based on hostname Ian McBeth
2003-08-03 20:20     ` Daniel Chemko
2003-08-03 20:44       ` Ian McBeth
2003-08-03 20:55         ` Daniel Chemko
  -- strict thread matches above, loose matches on Subject: below --
2003-08-03 22:07 George Vieira

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.