Re: RE forward eth0 to ppp0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For that you need to setup NAT, masquerading. For this you need to setup
iptables. This is actually a good thing to do when you connect to the
internet, anyway. You cannot use ordinary routing because 10.2.0.0 will
never propagate over most Internet routers because that is in one of several
reserved address spaces for private networks.

You can learn about iptables at http://www.netfilter.org/ and you can lean
about masquerading at http://ipmasq.cjb.net/. The latter address has some
example iptables scripts that should get you going with minimal effort.

{^_^}
----- Original Message -----
From: "auzie morgan" <auzie@auzievision.com>


> Any one have a strait forward suggestion on forwarding all 10.2.0.0 eth0
> incoming traffic to a ppp0 gateway? I have ipv.forward = 1 that wasn't
> enough.. I could swear with two eth's this is fairly simple.. static
> routes file doesn't get it as the dev ppp0 does not exist when the net
> starts.. adding a static route almost got it, but then it fragmented and
> stoped routing.. apache Proxy keeps getting stuck over read permissions
> on sites like yahoo.. so I really would rather setup a caching dns and
> route so that systems in the lan can route through the system with the
> modem connect .. its a ptp connection..



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux