Andrew Dowds wrote:
> I want to set up a very simple forwarding system where my friend can dial up to
> my linux box (kernel 2.2.12), and access my network, my network consists of two
> machines 192.168.2.1 and 192.168.2.2 on ethernet. My friend is dialling in and
> setting up a PPP connection as 192.168.1.2, my system answers as 192.168.1.1
>
> I can ping him from the answering machine and vice versa, but he can't ping my
> network, I have tried the follwing to set up the link
>
> ipchains -P forward DENY
> ipchains -A forward -i ppp0 -j MASQ
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> This is supposed to be easy, so what am I doing wrong?
Either the other hosts on the network need to know that the router is
the gateway to the 192.168.1/24 network, or the router needs to be
performing proxy ARP ('proxyarp' in /etc/ppp/options).
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]