All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rod Smart <snaketails@optusnet.com.au>
To: linux-ppp@vger.kernel.org
Subject: Re: dialin server not routing/forwarding????
Date: Sat, 03 Apr 2004 00:29:22 +0000	[thread overview]
Message-ID: <406E0562.6000509@optusnet.com.au> (raw)
In-Reply-To: <406DD9F3.6060901@ansco.com>

    I have added comments to your text.

    Qn. are you using mgetty for dialin?

Milen Dimitrov wrote:

> Hi,
> I just setup a dialin server on RedHat 9.
> Dial in server is a member of LAN with common gateway 192.168.1.1.
> I can browse internet from dial-in server and I can ping any other PC 
> in the LAN.
>
> From a windows PC i can dial in and connect to the server but I cannot 
> browse Internet.
> When connected to the dial-in server my windows PC has the following 
> ipsettings and I cannot ping
> any other PC in the LAN except dial in server (192.168.1.10) I'm 
> connected to:
> c:\>ipconfig /all
> PPP adapter test2PPP:
>       Connection-specific DNS Suffix  . :
>       Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
>       Physical Address. . . . . . . . . : 00-53-45-00-00-00
>       DHCP Enabled. . . . . . . . . . . : No
>       IP Address. . . . . . . . . . . . : 192.168.1.171
>       Subnet Mask . . . . . . . . . . . : 255.255.255.255
>       Default Gateway . . . . . . . . . : 192.168.1.171
>       DNS Servers . . . . . . . . . . . : 192.168.1.2
>                                                     192.168.1.3
>
> As you see the IP and the gateway for my windows PC are the same - 
> 192.168.1.171. Is this correct?
>
> My guess is that the linux Dial-in server doesn't route/forward 
> packets from PPP  to the rest of the LAN?
> How I can prove if it's true or not?
> Which config files/log files to be check out?
> Which tools I can use to debug it?
>
> Thank you for the help in advance!
> Milen
> =================
> Please see some of config files bellow:
> /etc/ppp/options
> contains:
> -----------------------
> -detach
> asyncmap 0
> netmask 255.255.255.0
> proxyarp
> lock
> crtscts
> modem
> noauth
> ms-dns 192.168.1.1
> ms-dns 192.168.1.1
> --------------------- 

    My options file contains the following.

  lock
  dump

>
> /etc/ppp/options.ttyS0
> contains:
> -----------------------
> 192.168.1.10:192.168.1.171
> ----------------------- 


    My options.dialin (same as your options.ttyS0)

  crtscts
  modem
  debug
  lock
  login
  require-pap
  refuse-chap
  proxyarp
  asyncmap 20a0000
  ms-dns 192.168.1.1
  ms-wins 192.168.1.1
  192.168.1.1:


    My ip-up contains the following

  /sbin/route add -net $5 netmask 255.255.255.0 ppp0
  /etc/rc.d/rc.pppfirewall

    The last one configures the firewall (IPCHAINS) to allow packet 
forwarding between ppp0 <-> eth1 (Internet), ppp0 <-> lo, ppp0 <-> eth0, 
ppp0 <-> eth2

/etc/mgetty+sendfax/dialin.config = empty

/etc/mgetty+sendfax/mgetty.config

  port ttyS0
  init-chat  ""  ATZ\r  OK
  rings 2
  answer-chat "" ATA CONNECT \c
  issue  /etc/issue

/etc/mgetty+sendfax/login.config

  /AutoPPP/   -   a_ppp   /usr/sbin/pppd   file   /etc/ppp/options.dialin


    ^^^^^   Yes, I could have put the standard options on the end in the 
file, but I have a limit of how many I can use in the login.config file, 
as "file xxxx" is a valid option, I used that to grab the options from 
an external file ;o)

/etc/ppp/pap-secrets

user1   *   ""   192.168.1.3
user2   *   ""   192.168.1.4

    ^^^^  Having "" as password allows the use of the password stored in 
PAM/Shadow

    I have a web proxy server running, so the windows dialin box will 
use that proxy instead of directly to the Internet


      parent reply	other threads:[~2004-04-03  0:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02 21:24 dialin server not routing/forwarding???? Milen Dimitrov
2004-04-02 21:34 ` James Carlson
2004-04-03  0:29 ` Rod Smart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=406E0562.6000509@optusnet.com.au \
    --to=snaketails@optusnet.com.au \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.