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 guess the Cisco client with its UDP/TCP tunneling tends to act somewhat like "dhcp" in that it configures things for you.. you are sort of on your own with vpnc. It comes with some scripts that can be tweaked... of course, I just write my own. Unlike the Cisco client, vpnc will not turn off your network connections. Something to keep in mind (basically means that you can join your VPN network to the internet if you so desire... something your admin might not like).
It appears that the best solution is to use vpnc on my home desktop (as computer ip & gateway remain static, & only the external ip address changes) but to keep battling with the cisco client for my laptop..
(my home desktop is 64bit & have never managed to get cisco to work, whereas the laptop did once work with cisco, before a kernel update,, that's the subject of another post)
anyway, once I am back home I will try your suggestions for my home computer & hope can get vpnc to work...
I am using vpnc 0.3.2-3 package from yum. Everything seems fine when i connect to my university as I get an ip and everything on tun0. I only need vpn to access some places on univ website...so i don't want to make it the default route. I added a static route using:
route add -net xxx.xxx.0.0 netmask 255.255.0.0 dev tun0
so that only univ sites route through tun0. The problem is that I can transmit packets but can't receive any. I have added my univ DNS server to resolv.conf and have turned off iptables. Also, apparently this version of vpnc doesn't come with the vpnc-connect and disconnect scripts to automatically set things.
Do i need to add the vpn gateway to the routing table?
Is there anything else i can try? Please help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.