|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Routing problem?
|
> --- Fred K Ollinger <follinge@sas.upenn.edu> wrote:
> > What sw are you using for ipforwarding.
> >
> > I use ipchains for this purpose. Most would probably like the
> > (newer,
> > better) iptables.
>
> Just the basic kernel IP forwarding (echo "1" >
> /proc/sys/net/ipv4/ip_forward). I will be using ipchains when I get
> the routing working.
I never got this to work. Instead, I use the recipe found in ipchains on
linuxdoc.org. This worked painlessly. Try it. :)
3.1 Rusty's Three-Line Guide To Masquerading
This assumes that your external interface is called `ppp0'. Use ifconfig
to find out, and adjust to taste.
# ipchains -P forward DENY
# ipchains -A forward -i ppp0 -j MASQ
# echo 1 > /proc/sys/net/ipv4/ip_forward
Fred
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|