Hello,
I ve got an Asus WL500g deluxe with wr-rc3.
I build up an pptp-connection like the "PPTP-Howto" explain.
Ok. When I start these after I loged in via Telnet or ssh with
pptp call peername .... the tunnel comes up and everything works fine.
Whe I put tese start in the init.d-directory like
File S60vpnstart:
#!/bin/sh
#sleep 60
case $1 in
start)
touch /tmp/resolv.conf
echo "nameserver 172.16.0.2" >> /tmp/resolv.conf
route add -net 172.16.0.0 netmask 255.255.255.0 gw 192.168.1.1
/usr/sbin/pppd call ggew_tunnel1
;;
stop)
;;
*)
echo "usage: $0 (start|stop)"
exit 1
esac
exit $?
I see the tunnel comes up and when I logged into the router the internet-connection works fine but on my client nothing happens.
No ping outside, no nslookup....
What is wrong?
By the way the dnsmasq puts me into the resolv.conf-file :
seach lan
nameserver 192.168.1.100 (this is the IP of the router)
Where is my nameserver of the vpn-connection? In the resolv.conf-file (/tmp) I put "nameserver 172.16.0.1 ".
How I can get the right nameserver-ip into the resolv-file of the clients?
Thanks Kai-Uwe