Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been working trying to setup VPN access from my Slack box to a Windows VPN. I have setup PPTP and am able to connect to the VPN but am unable to ping a machine on the other side of the tunnel.
Here is the output of tail /var/log/messages after I call the VPN. It appears I am connected.
Code:
Feb 7 10:32:10 AXE pppd[32321]: CHAP authentication succeeded
Feb 7 10:32:10 AXE pppd[32321]: MPPE 128-bit stateless compression enabled
Feb 7 10:32:11 AXE pppd[32321]: local IP address 10.22.37.51
Feb 7 10:32:11 AXE pppd[32321]: remote IP address 10.22.127.1
However, now when I try to ping a machine within the VPN it fails. Any idea what I could be missing?
1. ping yourself 10.22.37.51
2. the other side 10.22.127.1
3. ping another system in the target network, if that fails, it is a routing issue - I think ;-)
Thanks all for the info. BSDUNIX you hit the nail on the head, pings are disabled on the network I am trying to connect.
I so I moved forward with thecarpy's suggestion to add the entry to the route table, and then attempted to connect to my
workstation using VNC, however the connection timed out and failed. I am unable to determine why this could be, so I have
included my routing table below. Does everything look ok?
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.22.127.1 * 255.255.255.255 UH 0 0 0 ppp0
localnet * 255.255.255.0 U 0 0 0 eth0
10.22.0.0 10.22.127.1 255.255.0.0 UG 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
Thanks for all the help! I now have VPN and VNC working. It turns out that the issue was related to routing. It turns out that the machine I was trying to remote to was on a different subnet, so I had to change the route to allow for this. Thanks again.
I am facing almost the same issues (so I am posting here even though the thread is pretty old). I have Slackware64 13 installed and I am trying to connect to my university pptp vpn server. The instructions on the universities webpage specifically mention that "You _must_ disable EAP in the list of Authentication methods. You also _must_ enable the Use Point-to-Point encryption (MPPE) option."
So far I think that I can connect, however I cannot ssh/ping any machine across the tunnel. The output of pppd call cseVPN dump debug logfd 2 nodetach require-mppe is
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.