Vpn connected but not being used - how to activate?
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.
as long as a gateway/route is in place for the vpn connection, all you have to do is initiate a connection to something on the vpn subnet.
Unfortunately this is exactly what I can't do! I imagine it is something to do with ip route, /etc/networking/interface, or both, but I really have no idea how to do it. I can see a route to the server I am trying to use (194.79.29.2) but it is not the default and I can't make it so.
I have tried various things without success. Could you very kindly tell me what I need to do?
I can see a route to the server I am trying to use (194.79.29.2) but it is not the default and I can't make it so.
I have tried various things without success. Could you very kindly tell me what I need to do?
You can see it but we can't!
Nobody (unless they are psychic) can tell you what you need to do unless you share what you have tried and what the results were.
Are you able to ping the VPN server you want to use?
OK, so IP routing to the VPN server is working. Which VPN software is running on the client and the server? You write that you are not able to "initiate a connection to something on the vpn subnet." Are you able to initiate a VPN session with the server itself? What do you do to initiate the VPN session? What are the symptoms of it working (or not) -- how do you test?
OK, so IP routing to the VPN server is working. Which VPN software is running on the client and the server? You write that you are not able to "initiate a connection to something on the vpn subnet." Are you able to initiate a VPN session with the server itself? What do you do to initiate the VPN session? What are the symptoms of it working (or not) -- how do you test?
vpn softeware is pptp
I start VPN with "pon <name of tunnel>"
Perhaps it IS working, but my IP address appears as 94.30.27.224, whether I have vpn running or not. I think it should be different when I am running vpn. This IP address brings up my Netgear router for some reason - I don't understand this.
Perhaps it IS working, but my IP address appears as 94.30.27.224, whether I have vpn running or not. I think it should be different when I am running vpn. This IP address brings up my Netgear router for some reason - I don't understand this.
This is good, essential information for solving the problem. Unfortunately I know nothing about pptp, including whether your IP address should change when you run VPN (I don't think it should).
The best way forward might be to start a new thread mentioning pptp in the title. That should attract pptp-sperts with the knowledge necessary to test whether it is working and, if it is not, to analyse the problem and identify a solution.
it doesnt matter that your netgear router ip is showing. without the netgear router ip, you would never establish the pptp tunnel.
pptp vpn tunnel works much the same way as any vpn tunnel except minus the encryption.
what you want is to add a route for this vpn traffic OR show me what routes you already have in the table.
Ok edit:
i can see you yhave shown this info already... my bad...
If you can ping the server, then it is working.
Can you show the output from the ping and / or t raceroute to the vpn server or anything on that servers subnet
Last edited by centosboy; 04-16-2010 at 06:20 AM.
Reason: misread
I'm afraid I don't quite follow this. As the ppp0 interface doesn't seem to be doing anything I don't think there is anything. Or do I misunderstand what you are saying?
I don't recall the setting specifically but look at the pptp docs there is, if I recall correctly a setting in your pptp client config that will direct all traffic over the vpn connection, its like an option to use the vpn gateway.
I can't see any such option. I suppose it's possible that pppd is configured wrongly. Perhaps I should take up your suggestion of starting a new ppptp thread.
I'm extremely grateful for all the trouble you are taking with this.
Are you married to a pptp VPN, if you are not going to be using WIndows clients many other VPN solutions might be easier for you to work with. Even if you are using windows clients can you install VPN clients on those windows clients? Maybe OpenVPN might work better for you?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.