* Masquerading problems
@ 2002-07-03 5:07 David Gaston Rodriguez
2002-07-03 8:24 ` R. Sterenborg
0 siblings, 1 reply; 4+ messages in thread
From: David Gaston Rodriguez @ 2002-07-03 5:07 UTC (permalink / raw)
To: netfilter
Hi!, i am new in the list, i am from argentina, this is mi problem:
I have a small LAN with a server doing masquerading, I used the kernel 2.2.20 and
did not have any problem, now i decided to use the kernel 2.4.18, i set iptables
to make the masquerading, but now there are web pages which i can enter from
workstations, like for example www.mixmail.com or www.yahoo.com, and from the server
i can enter to this pages. I using 2 interfaces, eth0: external, eth1: internal, the
external interface is connect to ADSL Modem (PPPoE).
Some idea on as could be mi problem?
Thanks!!
--
---------------------------------
DAVID GASTÓN RODRIGUEZ
Linux Tucumán
Nick: [[D4V|D]]
---------------------------------
Email: davidgr@interlap.com.ar
david_80gr@hotmail.com
ICQ: 81492566
MSN Messenger: david_80gr
---------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Masquerading problems
2002-07-03 5:07 Masquerading problems David Gaston Rodriguez
@ 2002-07-03 8:24 ` R. Sterenborg
0 siblings, 0 replies; 4+ messages in thread
From: R. Sterenborg @ 2002-07-03 8:24 UTC (permalink / raw)
To: netfilter
----- Original Message -----
From: "David Gaston Rodriguez" <davidgr@interlap.com.ar>
> to make the masquerading, but now there are web pages which i can enter
from
> workstations, like for example www.mixmail.com or www.yahoo.com, and from
the server
> i can enter to this pages. I using 2 interfaces, eth0: external, eth1:
internal, the
So you can access pages from workstations. And also from the server.
What *is* the problem ?
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Masquerading problems
@ 2002-07-03 9:28 George Vieira
2002-07-03 9:33 ` Antony Stone
0 siblings, 1 reply; 4+ messages in thread
From: George Vieira @ 2002-07-03 9:28 UTC (permalink / raw)
To: 'davidgr@interlap.com.ar'; +Cc: netfilter
All you really need is to POSTROUTE the workstations..
With PPPoE do this..
INTSN="192.168.1.0/24"
IPTABLES=/sbin/iptables
EXTDEV="`adsl-status | grep "Link encap" | awk {'print $1'}"
$IPTABLES -A POSTROUTING -o $EXTDEV -t nat -s $INTSN -d $ANYWHERE -j
MASQUERADE
There is a /proc switch which you should turn on for dynamic IPs.. forgot
the path.. someone must know it.. argh..
-----Original Message-----
From: David Gaston Rodriguez [mailto:davidgr@interlap.com.ar]
Sent: Wednesday, 03 July 2002 3:08 PM
To: netfilter@lists.samba.org
Subject: Masquerading problems
Hi!, i am new in the list, i am from argentina, this is mi problem:
I have a small LAN with a server doing masquerading, I used the kernel
2.2.20 and
did not have any problem, now i decided to use the kernel 2.4.18, i set
iptables
to make the masquerading, but now there are web pages which i can enter from
workstations, like for example www.mixmail.com or www.yahoo.com, and from
the server
i can enter to this pages. I using 2 interfaces, eth0: external, eth1:
internal, the
external interface is connect to ADSL Modem (PPPoE).
Some idea on as could be mi problem?
Thanks!!
--
---------------------------------
DAVID GASTÓN RODRIGUEZ
Linux Tucumán
Nick: [[D4V|D]]
---------------------------------
Email: davidgr@interlap.com.ar
david_80gr@hotmail.com
ICQ: 81492566
MSN Messenger: david_80gr
---------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Masquerading problems
2002-07-03 9:28 George Vieira
@ 2002-07-03 9:33 ` Antony Stone
0 siblings, 0 replies; 4+ messages in thread
From: Antony Stone @ 2002-07-03 9:33 UTC (permalink / raw)
To: netfilter
On Wednesday 03 July 2002 10:28 am, George Vieira wrote:
> All you really need is to POSTROUTE the workstations..
>
> With PPPoE do this..
>
> INTSN="192.168.1.0/24"
> IPTABLES=/sbin/iptables
> EXTDEV="`adsl-status | grep "Link encap" | awk {'print $1'}"
> $IPTABLES -A POSTROUTING -o $EXTDEV -t nat -s $INTSN -d $ANYWHERE -j
> MASQUERADE
Surely if this were David's problem, his workstations wouldn't be able to
access any external servers, whereas his problem report seems to suggest that
it is only certain websites which he cannot contact (and therefore others
which he can ?)
Maybe this is my error in interpretation, and the solution is as simple as
you suggest...
Antony.
> -----Original Message-----
> From: David Gaston Rodriguez [mailto:davidgr@interlap.com.ar]
> Sent: Wednesday, 03 July 2002 3:08 PM
> To: netfilter@lists.samba.org
> Subject: Masquerading problems
>
>
> Hi!, i am new in the list, i am from argentina, this is mi problem:
> I have a small LAN with a server doing masquerading, I used the kernel
> 2.2.20 and
> did not have any problem, now i decided to use the kernel 2.4.18, i set
> iptables
> to make the masquerading, but now there are web pages which i can enter
> from
>
> workstations, like for example www.mixmail.com or www.yahoo.com, and from
> the server
> i can enter to this pages. I using 2 interfaces, eth0: external, eth1:
> internal, the
> external interface is connect to ADSL Modem (PPPoE).
> Some idea on as could be mi problem?
> Thanks!!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-03 9:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-03 5:07 Masquerading problems David Gaston Rodriguez
2002-07-03 8:24 ` R. Sterenborg
-- strict thread matches above, loose matches on Subject: below --
2002-07-03 9:28 George Vieira
2002-07-03 9:33 ` Antony Stone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox