Date: Sat, 03 Dec 2005 19:46:24 +0000 From: "klowd9 -" <klowd92@hotmail.com> To: freebsd-questions@freebsd.org Subject: pptp problems Message-ID: <BAY105-F28A703E25CAF8F9A1EA47ABF4F0@phx.gbl>
next in thread | raw e-mail | index | archive | help
Please reply your message to klowd92@hotmail.com Im from israel. I use vpn over _cable_ (not dialing) to connect to the internet. works fine in windows. On Freebsd 6.0. i installed pptpclient which uses pptpclient 1.7.0 sources, the newest version. Problem description: -I recieve a local ip from the cable company: 172.27.15.77 on sis0 interface. -I run pptpclient, seems to connect and creates a new device tun0 with a valid internet ip and gateway -From here im still incapable of ping or resolving anything. Anything i try to resolve becomes 213.57.1.13 which is the ip for the cable company website. the name servers it uses are 192.168.101.101. which is the same as in windows, but on windows i am successful in resolving websites after i connect to vpn. Also i cannot ping any valid ip over the internet. packets time out. basically i cant connect or do anything. I tried adding a route or changing default route, but usually when i do this i kill the pptp connection. I can give you more info on the protocols of vpn in windows like PAP and SPAP but i dont htink thats the issue because i get valid ip on new device tun0, i just cant figure how to use it and connect through it without killing the pptp connection. Here is all the info, i copied by hand because i dont have a link to the system. # cat /etc/ppp/ppp.conf cable: set authname joe set authkey guess set timeout 0 set ifaddr 0 0 set login alias enable yes # add 10.240.192.1/24 HISADDR # add 213.57.1.13/24 HISADDR # tried using each of those. and also disabling 'set login'. and still same problems. # /etc/rc.d/netif restart Stopping network: lo0 sis0 rl0 DHCPREQUEST on sis0 to 255.255.255.255 port 67 DHCPREQUEST on sis0 to 255.255.255.255 port 67 DHCPACK from 10.240.192.1 bound to 172.27.15.77 -- renewal in 276908 seconds. rl0: no link ............. giving up # pptpclient 212.179.61.77 (stays like this) (in a new terminal) # cat resolv.conf nameserver 192.168.101.101 nameserver 192.168.101.102 # ifconfig tun0 sis0 sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> inet6 fe80::2d0.... inet 172.27.15.77 netmask 0xfffff000 broadcast 255.255.255.255 ether 00:d0:09:57:1f:a6 media: Ethernet autoselect (100baseTX <full-duplex>) status: active tun0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 1500 inet 212.179.185.226 --> 212.25.114.89 netmask 0xffffffff Opened by PID 624 #netstat -r Routing tables Internet Gateway Flags Netif default 172.27.0.1 UGS sis0 localhost localhost UH lo0 172.27/20 link#1 UC sis0 172.27.0.1 00:05:00:e7:dd:f7 UHLW sis0 212.25.114.89 212.179.185.226 UH tun0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY105-F28A703E25CAF8F9A1EA47ABF4F0>