Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a vpn connection I use to connect to work. It works almost perfectly, here is how I connect:

 sudo openvpn --config frew@foo.bar.com.ovpn

Unfortunately the DNS doesn't seem to work, so after connecting I have to use the IP Address of the servers I want to connect to. Interestingly, when I connect with NetworkManager, DNS does work, but if there are any connection errors it just drops instead of reconnecting. Honestly I'd be fine with a fix to either, and will change the title of the question to match the first working answer I get.

I am using the most recent Ubuntu 13.04

share|improve this question
    

1 Answer 1

I needed to add

 up /etc/openvpn/update-resolv-conf
 down /etc/openvpn/update-resolv-conf

to my ovpn config.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.