All of lore.kernel.org
 help / color / mirror / Atom feed
* Masquerading problems (fix)
@ 2002-07-03  6:13 David Gaston Rodriguez
  2002-07-03  9:23 ` Antony Stone
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gaston Rodriguez @ 2002-07-03  6:13 UTC (permalink / raw)
  To: netfilter

Sorry! i wrote bad. here is the correction:
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 NOT 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

* Re: Masquerading problems (fix)
  2002-07-03  6:13 Masquerading problems (fix) David Gaston Rodriguez
@ 2002-07-03  9:23 ` Antony Stone
  2002-07-03 16:02 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
  2002-07-03 22:51 ` David Gaston Rodriguez
  2 siblings, 0 replies; 4+ messages in thread
From: Antony Stone @ 2002-07-03  9:23 UTC (permalink / raw)
  To: netfilter

On Wednesday 03 July 2002 7:13 am, David Gaston Rodriguez wrote:

> Sorry! i wrote bad. here is the correction:
> 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 NOT 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!!

I have two suggestions for this problem:

1. Do you have a rule allowing ESTABLISHED and RELATED packets from the 
remote server back to the workstations (possibly some ICMP stuff such as 
fragmentation) ?

2. Check the MTU on your PPPoE and eth1 - I've heard about people using PPPoE 
having a problem with different MTUs on either side of the firewall - I think 
the solution was to clamp the larger one down to be the same value as the 
smaller one ?   Maybe someone else who who uses PPPoE or knows more about 
this problem can be more specific ?

Hope this helps,

 

Antony.


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

* Re: Masquerading problems (fix)
  2002-07-03  6:13 Masquerading problems (fix) David Gaston Rodriguez
  2002-07-03  9:23 ` Antony Stone
@ 2002-07-03 16:02 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
  2002-07-03 22:51 ` David Gaston Rodriguez
  2 siblings, 0 replies; 4+ messages in thread
From: =?unknown-8bit?q?J=F6rgen?= Danielsson @ 2002-07-03 16:02 UTC (permalink / raw)
  To: davidgr, netfilter

This is how i have it

### Allow masquerading for internal boxes ###
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

### Make sure mtu is never changed 
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j
TCPMSS --clamp-mss-to-pmtu


Had the same problem as you earlier, that fixed the
prob.

/Jörgen

--- David Gaston Rodriguez <davidgr@interlap.com.ar>
wrote:
> Sorry! i wrote bad. here is the correction:
> 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 NOT 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!!
> 
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


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

* Re: Masquerading problems (fix)
  2002-07-03  6:13 Masquerading problems (fix) David Gaston Rodriguez
  2002-07-03  9:23 ` Antony Stone
  2002-07-03 16:02 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
@ 2002-07-03 22:51 ` David Gaston Rodriguez
  2 siblings, 0 replies; 4+ messages in thread
From: David Gaston Rodriguez @ 2002-07-03 22:51 UTC (permalink / raw)
  To: netfilter

Thanks to all!! I already could solve the problem using the line:
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu


-- 

---------------------------------
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 22:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-03  6:13 Masquerading problems (fix) David Gaston Rodriguez
2002-07-03  9:23 ` Antony Stone
2002-07-03 16:02 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
2002-07-03 22:51 ` David Gaston Rodriguez

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.