dialup ppp help
I'm trying to setup a dialup ppp server using only 1 real internet IP. Is
this currently possible using Linux?
Currently, I have 2 ethernet adaptors, eth0 is the local network and eth1
is the internet. IP masquerading is working, so eth0 can access the
internet through eth1. I also have Bind setup and running correctly.
What do I need to do in order to get Linux to assign the dialup user a
local ip (192.168.1.x), setup ip masq, and establish a ppp connection?
I assume that I need to add entries to the /etc/hosts file and in bind.
I'm confused on what IPs need to go into those files.. Here is what I
have so far: (I have no idea if any of it is correct, but it currently
does not work)
/etc/hosts:
192.168.1.1 ppp1-serv.domain.net ppp1-serv
192.168.1.2 ppp2-serv.domain.net ppp2-serv
....
/var/named/db.domain.net:
....
serv IN A 198.109.162.43
ppp1-serv IN CNAME serv.domain.net.
ppp2-serv IN CNAME serv.domain.net.
....
/etc/ppp/options.ttyS1:
serv:ppp1-serv
/etc/ppp/options.ttyS2:
serv:ppp2-serv
....
/etc/ipmasq.conf:
EXTERNAL_IP=198.109.162.43
EXTERNAL_NETMASK=255.255.255.224
INTERNAL_IP=( 192.168.100.2 192.168.1.1 192.168.1.2 ... )
INTERNAL_NETMASK=( 255.255.255.0 255.255.255.0 255.255.255.0 ... )
(192.168.100.* is the local network on eth1)
Although this configuration may look correct, it is not. Here's a clip of
my syslog:
kernel: CSLIP: code copyright 1989 Regents of the University of California
kernel: PPP: version 2.2.0 (dynamic channel allocation)
kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
kernel: PPP line discipline registered.
kernel: registered device ppp0
pppd[316]: pppd 2.3.3 started by LOGIN, uid 0
pppd[316]: Using interface ppp0
pppd[316]: Connect: ppp0 <--> /dev/ttyS1
pppd[316]: PAP authentication failure for paul
pppd[316]: Connection terminated.
pppd[316]: Exit.
I _DID_ enter the correct password!
Anyone have any ideas or suggestions? Help would be greatly appreciated.
Thanks,
-Paul
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: