[pptp-server] dns problem.

Thomas Rasmussen tr at atracit.dk
Fri Jun 7 05:08:50 CDT 2002


I got a Freebsd running with 128 des and so on..

Wins works

and it is giving away the right ip´s


but i have one problem,     the clients get 127.0.0.1 as there dns

my ppp.conf

loop:
         set timeout 0
         set log phase chat connect lcp ipcp command
         set device localhost:pptp
         set dial
         set login
         # Server (local) IP address, Range for Clients, and Netmask
         set ifaddr 10.10.10.254 10.10.10.220-10.10.10.230 255.255.255.255
         set server /tmp/loop "" 0177

loop-in:
         set timeout 0
         set log phase lcp ipcp command
         allow mode direct
pptp:
 load loop
 enable proxy
 enable dns

 enable chap81
 disable pap
 disable deflate pred1
 deny deflate pred1

 set ms-wins 10.10.10.254
 set dns  10.10.10.254
 set nbns 10.10.10.254

 set device !/etc/ppp/secure

-------------------------------
PPP adapter geofysik:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        DHCP Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 10.10.10.225
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 10.10.10.225
        DNS Servers . . . . . . . . . . . : 127.0.0.1
        Primary WINS Server . . . . . . . : 10.10.10.254


-regards Thomas




More information about the pptp-server mailing list