Linux Netfilter discussions
 help / color / mirror / Atom feed
From: =?unknown-8bit?q?J=F6rgen?= Danielsson <jorgen_d@yahoo.com>
To: davidgr@interlap.com.ar, netfilter@lists.samba.org
Subject: Re: Masquerading problems (fix)
Date: Wed, 3 Jul 2002 09:02:29 -0700 (PDT)	[thread overview]
Message-ID: <20020703160229.23991.qmail@web9902.mail.yahoo.com> (raw)
In-Reply-To: <200207030613.59855.davidgr@interlap.com.ar>

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


  parent reply	other threads:[~2002-07-03 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2002-07-03 22:51 ` David Gaston Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020703160229.23991.qmail@web9902.mail.yahoo.com \
    --to=jorgen_d@yahoo.com \
    --cc=davidgr@interlap.com.ar \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox