RE: Iptables question
- From: "Kevin Ross" <kevin@xxxxxxxxxxxxxx>
- Date: Thu, 10 Sep 2009 14:30:09 -0700
From: I Rattan [mailto:ratta1i@xxxxxxxxxxxxx]
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.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Iptables question
- From: I Rattan
- Iptables question
- Prev by Date: Re: Iptables question
- Next by Date: Re: looking for packages versions of running daemons
- Previous by thread: Re: Iptables question
- Index(es):
Relevant Pages
|