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

RE: Iptables question



> From: I Rattan [mailto:ratta1i@cps.cmich.edu]
> Sent: Thursday, September 10, 2009 2:03 PM
> 
> I asked about a modem dialin server problem. I saw
> no response, so, I rephrase it.
> 
> The Linux box is connected to Internet on 141.209.169.x
> 
> The dialin ppp (Linux end) ipaddr is 192.168.0.10
> The dialing client gets ipaddr       192.168.0.11
> 
> How do I make iptables to forward form 192.168.x.x
> to 141.209.169.x (looking for rules form ppp0 to eth0)?
> 
> -ishwar

Make sure you have "proxyarp" in your /etc/ppp/options file.

And enable net.ipv4.ip_forward=1 in your /etc/sysctl.conf file.

It's been awhile since I set up PPP, but I think that's all
you need to do to enable PPP clients to get to the Internet.
You can also add "ms-dns" lines to set DNS servers for the client.


Reply to: