You are not logged in.
Pages: 1
Hi there,
i tried to connect to the VPN network at my university but it does not work. It works well with windows.
I use kvpnc, I have installed pptpclient, I have the ppp-mppe module loaded. In theory I am connetced (I input my username and password) but I can only ping my pptp server (10.13.1.1), when I try to ping some server outside the network I get no response. What could be the problem?
regards,
mdv
Offline
I found out that when I do
ping -I ppp0 213.73.5.100I get a response, but when I do not use the -I option I do not. So it seems that I have internet connection but only at the ppp0 interface, and no application uses it. How could I force my apps to use ppp0?
Offline
Probably the routing table is still set for your normal network connection.
execute route to get the current table.
It should look similar to this :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
default SpeedTouch.lan 0.0.0.0 UG 0 0 0 eth0Look in kvpnc settings for an option to overwrite the existing default gateway.
If you can't find one, try this to set the ppp0 interface as default gateway :
route add default gw ppp0NOTE : make sure to write down your original default line just in case.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
Thank you, it worked. I used
# route add default dev ppp0. You need to provide an IP addres after gw, so it is correct to use dev.
Offline
Thank you, it worked. I used
# route add default dev ppp0. You need to provide an IP addres after gw, so it is correct to use dev.
yep, makes sense.
at first i wanted to put the ip-address 10.13.1.1 (your pptp server) in that line, realised i didn't know if ping reached that through ppp0 and put that instead.
I forgot to check if "gw" accepted devices also.
Glad you found the correct answer.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
Pages: 1