RE: Iptables question



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



Relevant Pages

  • Re: Newbie - RedHat as router for windows98
    ... > ADSL modem with fixed IP to the internet, ip of 192.168.1.1 on the other ... > A dialin line which gets assigned ip of 192.168.1.3 when I dial in. ... > From the Linux box everything works fine, I can access the internet etc ... PPP-HOWTO for solving problem 2. ...
    (comp.os.linux.networking)
  • Re: Newbie - RedHat as router for windows98
    ... >> A dialin line which gets assigned ip of 192.168.1.3 when I dial in. ... >> From the Linux box everything works fine, I can access the internet etc ... How to route an internal network node with an unroutable ...
    (comp.os.linux.networking)
  • IAS Help
    ... Users dialin and get authenticated based on their usernames, ... Any other action, like closing the browser, should terminate his/her ... While still in the same browser and dialin session, ... choose either the internal network or internet access. ...
    (microsoft.public.internet.radius)
  • Re: Iptables question
    ... Then you should use NAT with iptables to share your internet connection ... I asked about a modem dialin server problem. ... The Linux box is connected to Internet on 141.209.169.x ... The dialin ppp ipaddr is 192.168.0.10 ...
    (Debian-User)
  • Re: Newbie - RedHat as router for windows98
    ... >side (my network) ... >A dialin line which gets assigned ip of 192.168.1.3 when I dial in. ... >>From the Linux box everything works fine, I can access the internet etc ... how is the Linux box connected to the modem? ...
    (comp.os.linux.networking)