Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Rob Verduijn <rverduij@dds.nl>
To: "Aldo S. Lagana" <alagana@discmail.com>, netfilter@lists.netfilter.org
Subject: RE: rp-l2tpd iptables and rh9 but no google
Date: 28 Jul 2003 22:49:14 +0200	[thread overview]
Message-ID: <1059425353.2893.7.camel@rincewind> (raw)
In-Reply-To: <200307282031.h6SKVejX019011@discmail.com>

Hi there,

Sorry that's not it, either that or my ISP is handing out incorrect
subnet masks with it's dhcp server :P

I saw that part of my problem fell off the last message

Short version
Turned on Ip forwarding
Brought up eth1 (dhcp)
Brought up ppp0 (also dhcp)
Turned on masquerading
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

On the gateway I can surf to www.redhat.com and www.google.com
On the client I can only surf to www.redhat.com
I cannot surf to www.google.com on the client

maximum packetsize with ping -s = 1472 (on gateway)
ping -s 1472 www.google.com
with bigger packets I get no answer

Maximum packetsize with ping -s on client is even smaller

I've been told to check the tunnel with tcpdump, but I get no output
when surfing to www.google.com

Regards
Rob


On Mon, 2003-07-28 at 22:30, Aldo S. Lagana wrote:
> I had a funky issue that was similar and it turned out that I had the wrong
> subnet mask on my internet interface.  Coincidentally, my network also
> started with 64. (I think) - the same as google; but because my subnet mask
> was wrong, I could not see google!
> 
> 
> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Rob Verduijn
> Sent: Monday, July 28, 2003 4:19 PM
> To: netfilter@lists.netfilter.org
> 
> Hi again,
> 
> I've set my MTU on eth0 eth1 and ppp0 to 1472
> Ive been playing around with tcpdump
> I gave the following command
> tcpdump -i ppp0 -w dumptcp
> When I surf to www.redhat.com everything goes wel and I get all kinda output
> in my file
> But when I surf to google I get nothing, no output whatsoever.
> Did I give in the wrong syntax?
> 
> Regards
> Rob
> 
> 
> 
> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org
> [mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Eric Leblond
> Sent: vrijdag 18 juli 2003 21:49
> To: netfilter@lists.netfilter.org
> Subject: Re: rp-l2tpd iptables and rh9 but no google
> 
> 
> Le ven 18/07/2003 à 21:01, Rob Verduijn a écrit :
> > Hi there,
> >
> > I've got this curious problem with netfilter.
> 
> > I did
> > echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> >
> > I can ping google so icmp seems to work but I can't surf the web for
> google.
> > Neither windows nor linux will work.
> 
> You may have look to the MTU, with encapsulation in L2TP you loose some
> bytes.
> To test try increase your ping size with the -s option.
> 
> If it is working with -s 1500 then try to look at tcpmss.
> 
> BR,
> --
> Eric Leblond <eric@regit.org>
> 
> 
> 
> 
> 



      reply	other threads:[~2003-07-28 20:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 19:01 rp-l2tpd iptables and rh9 but no google Rob Verduijn
2003-07-18 19:49 ` Eric Leblond
2003-07-28 20:18   ` Rob Verduijn
2003-07-28 20:30     ` Aldo S. Lagana
2003-07-28 20:49       ` Rob Verduijn [this message]

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=1059425353.2893.7.camel@rincewind \
    --to=rverduij@dds.nl \
    --cc=alagana@discmail.com \
    --cc=netfilter@lists.netfilter.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