not if he is sending out through ppp0.... If he has a point to point (like a modem or maybe a T1) connection then its default route will be through ppp0. (or should be) To get you started, you should at least have these going:
# ipchains -P forward DENY
# ipchains -A forward -i ppp0 -j MASQ
# echo 1 > /proc/sys/net/ipv4/ip_forward
this is straight from the howto if I remember correctly... the last line is actually giving the kernel permission to forward packets. echoing 0 will disable packet forwarding.
-Patrick
Patman ">patman@io.com> wrote:
>
Shouldn't you be using eth0 or eth1 as the interface, and not ppp0?
On Mon, 21 Feb 2000, Glen Bankston wrote:
> Hello,
>
> Switching from RH5.1 to 6.1 .....
> I was told I need to change my ipfwdadm to ipchains. Read an example, made
> the change, and cannot get
> masq and fwding working.
>
> Question: is that built into the default kernel?
> Anyone got a link to an example site for ipchains. I have eth0 10.0.2.0/24
> and ppp0 as interfaces right now.
>
> Thanks,
>
> Glen WB4ZNW
>
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
>
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.