[SOLVED] Simple question about OpenVPN and routing
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 a killer headache, and searched on google for a bit but could not come up with a firm answer about this. I configured OpenVPN on my linksys wrt350n router, and I can connect to my VPN no problem, but I can not access the internet without checking "Use this connection only for resources on its network" in NetworkManager.
I would post the details of route and route -N but I am currently at work. I know that when that option is checked, it is not tunneling the actual internet connection my browser is using through the VPN tunnel. So my question is this: What would be a proper routing configuration? The gateway address is 192.168.2.1 and the IP is being dynamically set. I am using Fedora 13 64 bit, the latest version of networkmanager, and I have dd-wrt v24 mega installed on my router. I understand this is a simple question, but I had a hard enough time getting everything up and running...
Edit: I'm posting this thread because I am asking for information about routing in general and the VPN configuration. I don't know how else to word what I am trying to say....
What I am confused about is what I need to insert into the routing dialog. I'm a bit newer to NetworkManager as far as working out flaws, so bare with me. To my knowledge, I just have to change the interface for the following section
Code:
default mrtrv101a 0.0.0.0 UG 0 0 0 wlan0
to
Code:
default mrtrv101a 0.0.0.0 UG 0 0 0 tun0
but NetworkManager gives me no option. Help? Thanks guys.
Well,.. that means that DHCP is sending the information. Is your DHCP server set up correctly? Offering the correct netmask/gateway? It looks as if your Netmask of 255.255.255.0 is ending up as your Gateway,.. this might be a typo in your settings?
That's a negative on that one... The gateway is set up correctly, and the DHCP server is good to go. The netmask seems fine when I don't use the VPN. What I do know is that when I am connected without it, everything works perfectly, and the gateway/netmask are correct. Maybe a flaw with network manager?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.