Linux Netfilter discussions
 help / color / mirror / Atom feed
* 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  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

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