SWB DSL - Disappointment [aka ports problem]

Jeremy Fowler jfowler at westrope.com
Wed Jul 17 16:33:12 CDT 2002


Whatcha smoke'n Brian. I want some!

192.168.1.0/24 and 192.168.2.0/24 ARE on separate subnets...

> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Brian Densmore
> Sent: Wednesday, July 17, 2002 9:02 AM
> To: kclug at kclug.org
> Subject: RE: SWB DSL - Disappointment [aka ports problem]
> 
> 
> > One more thing, I'm still having problems trying to
> > forward ports with iptables.
> > Linux router with two NICs (eth0, 192.168.1.1 and
> > eth1, 192.168.2.1). These are the gateways to their
> > respective networks. I have a host with IP
> > 192.168.1.50 trying to request a web page from the
> > webserver at IP 192.168.2.10. I can't get it to work.
> > I have IP_FORWARD enabled and these are the rules I've
> > tried:
> > 
> You might try putting the two NICs on separate subnets.
> It's very bad practice to have two NICs in the same machine
> on the same subnet. 
> 
> Something like this:
> eth0 192.168.1.1
> eth1 192.168.129.1
> 
> and then every PC connected to eth0 should be less than 192.168.128.1
> and every PC on eth1 should be greater than 192.168.129.1
> 
> 
> HTH,
> Brian
> 
> 




More information about the Kclug mailing list