Re: Roach Motel For Packets...

2001-09-30 Thread Jason Lim
Why not bridge eth0 and eth1? - Original Message - From: "Peter Billson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 9:25 PM Subject: Re: Roach Motel For Packets... > Let me see if bad drawings help any: > &g

Re: Roach Motel For Packets...

2001-09-30 Thread Peter Billson
Let me see if bad drawings help any: eth0(to Internet IP "A.A.A.A")--|--| |Router|--eth2(192.168.1.1) eth1(to Internet IP "B.B.B.B")--|--| eth2:0(10.0.0.1) and |---| <<--to router --eth0(192.168.1.2)---|P

Re: Roach Motel For Packets...

2001-09-29 Thread Jeremy C. Reed
On Sat, 29 Sep 2001, Peter Billson wrote: > I have a Linux router with two connections from different service > providers (eth0 and eth1) coming in and want to route all traffic to go > out eth2. Eth0 is the router's default gateway > > I assigned eth2 two ips (eth2=192.168.0.1 and eth2:0=10

Re: Roach Motel For Packets...

2001-09-29 Thread Peter Billson
> as is required by RFC, routing is disabled by default. to enable > routing: > > echo 1 >/proc/sys/net/ipv4/ip_forward > > use /etc/sysctl.conf to have it enabled automatically at boot. 100% correct you are, but I have already done this. Note that "stuff" coming in eth0 is getting forwarded co

Re: Roach Motel For Packets...

2001-09-29 Thread CaT
On Sun, Sep 30, 2001 at 10:18:28AM +1000, Craig Sanders wrote: > echo 1 >/proc/sys/net/ipv4/ip_forward > > use /etc/sysctl.conf to have it enabled automatically at boot. That's one way. The other being: vim /etc/network/options There you'll find two other useful options also. All 3 would be th

Re: Roach Motel For Packets...

2001-09-29 Thread Craig Sanders
On Sat, Sep 29, 2001 at 10:46:37AM -0400, Peter Billson wrote: > But if I try to ping eth1, or any of the IPs serviced by eth1, from a > remote machine the packets come into the router and disappear. They > do not get DENYed, ACCEPTed or FORWARDed by IPChains on any > interface. The rules relating

Roach Motel For Packets...

2001-09-29 Thread Peter Billson
Hi all, I have successfully created a Linux "Roach Motel"... packets check in, but they don't check out! Unfortunately, I was trying to create a router! :-) I have a Linux router with two connections from different service providers (eth0 and eth1) coming in and want to route all traffic to g