🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.redhat.misc
Article #20

Re: ipchains/ipmasqfw/pppoe

#20
From: Frederic Breitwieser
Date: Wed, 05 Apr 2000 00:00
34 lines
2583 bytes
> wrote in message news:sekqrb7feop42@news.supernews.com...
> it would be most helpful to see your route tables.   just type route  as
> root to see them.  an ifconfig  would be helpful too.

Jason,  I can do that:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.1     *               255.255.255.255 UH    0      0        0 eth2
64.252.0.1      *               255.255.255.255 UH    0      0        0 ppp0
64.252.0.1      *               255.255.255.255 UH    0      0        0 ppp1
192.168.2.1     *               255.255.255.255 UH    0      0        0 eth3
172.16.0.250    *               255.255.255.255 UH    0      0        0 eth0
172.16.0.251    *               255.255.255.255 UH    0      0        0 eth1
192.168.2.0     *               255.255.255.0   U     0      0        0 eth3
192.168.1.0     *               255.255.255.0   U     0      0        0 eth2
172.16.0.0      *               255.255.0.0     U     0      0        0 eth0
172.16.0.0      *               255.255.0.0     U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         64.252.0.1      0.0.0.0         UG    0      0        0 ppp0

with the pppoe client, ppp0 corresponds to eth0 and ppp1 corresponds to
eth1.

I am trying to use ipchains/ipmasqadm portfw ppp0 to 192.168.1.10 and ppp1
to 192.168.1.11.  Unfortunately, all responses from the servers at
192.168.1.1x go out the ppp0 port.  I am unsure how to remove this default
gateway, or if its a wise thing to do.  I typed route del 64.252.0.1
thinking that would do the trick, then my telnet session poofed :)

Thanks,

Frederic
Technical Details
Message-ID: <8cg4ct$956$1@bob.news.rcn.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8ccu7c$s0c$1@bob.news.rcn.net> <sekqrb7feop42@news.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f922c,f58ef0b057194e5b
X-Google-Attributes: gidf922c,public
X-Google-Thread: 111240,f58ef0b057194e5b
X-Google-Attributes: gid111240,public
X-Google-Thread: 11033e,f58ef0b057194e5b
X-Google-Attributes: gid11033e,public
From: "Frederic Breitwieser" <frederic@xephic.dynip.com>
Subject: Re: ipchains/ipmasqfw/pppoe
Date: 2000/04/05
Message-ID: <8cg4ct$956$1@bob.news.rcn.net>
X-Deja-AN: 607206013
References: <8ccu7c$s0c$1@bob.news.rcn.net> <sekqrb7feop42@news.supernews.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: abuse@rcn.com
X-Trace: 5zHRy0OIIM7xqnoplrw3GdwN8EUaJ3tRqzBcuhccsa4WUOoJbg7Hhg==
X-MSMail-Priority: Normal
NNTP-Posting-Date: 5 Apr 2000 19:32:45 GMT
Newsgroups: linux.redhat.misc,comp.security.firewalls,ahn.tech.linux