Thread: DNS VPN Problem
View Single Post

  #1 (permalink)  
Old 05-14-2004
Paul Wilhelm Elsinghorst
 
Posts: n/a
Default DNS VPN Problem

Hi,


I have two computers one running as a router (GRE forwarding is enabled)
the other one as my desktop client. When starting an VPN connection using
pptp my DNS doesn't work any longer. I added the VPN connections
nameserver to /etc/resolv.conf but actually that should not be necessary.

This is the script I use to start up the VPN connection:

#!/bin/sh
source /etc/init.d/functions
echo -n "Establishing VPN Services Universitaet Muenster" /sbin/route add
128.176.239.193 gateway 192.168.0.2 eth0 /usr/sbin/pptp 128.176.239.193
debug lock noauth noipdefault defaultroute nobsdcomp nodeflate mtu 1000 mru 1000 name ***** > /var/log/pptp.log
sleep 10
/sbin/route add default ppp0
evaluate_retval



Any ideas how to fix this?


Paul
Reply With Quote