raakjoer wrote:
> Philippe WEILL wrote:
> > (E-Mail Removed) wrote:
> > > I have a linux box to be used as a router for a small offsite
> > > LAN...This box has 3 NICs. One will connect to a DSL modem
> > > (192.168.0.1/24), another will connect to a T1 point-to-point router
> > > (10.0.1.1/24) and another will connect to the LAN (10.0.3.0/24).
> > >
> > > eth0 - 192.168.0.2/24
> > > eth1 - 10.0.1.2/24
> > > eth2 - 10.0.3.1/24
> > >
> > > ip_forward is set to 1 so it can route across interfaces. My intention
> > > is to get all traffic destined for 10.0.0.0/24, 10.0.1.0/24 to go to
> > > the T1 router (10.0.1.1). That way Active directory, etc. will traverse
> > > the p2p. all other traffic (regular internet) should pass off to the
> > > local DSL link (192.168.0.1)....I tried putting in the default gateway
> > > as 192.168.0.1 and then a route for 10.0.0.0/24 via 10.0.1.1....The
> > > linux box itself can get to the t1 router and the dsl modem. BUT, if I
> > > use a client, e.g. 10.0.3.5/24 I can ping the T1 router (10.0.1.1) but
> > > I cannot ping the DSL modem (192.168.0.1) and cannot get to the
> > > internet.....The client is config'd as 10.0.3.5/24 with gw
> > > 10.0.3.1......What am I missing?
> >
> > Did you nat traffic on eth0 ?
> > you need this or the DSL modem need to know the route to 10.0.[0123].*
> >
> Thanks, I'll look into how to enable NAT on an interface...Stupid
> oversight....me noobie..
Enabled SNAT on eth0 and worked like a charm. Thanks...Now I just need
to learn to tweak iptables!! Thanks,