Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to establish connection with the L2TP-server (VPN) from my Ubuntu Server 13.04 machine in order to gain access to the Internet.

How can i do this?

I can find a lot of guides how to do this using GUI and some network manager plugin, but how can i do this only using a shell?

This connection must be established on system boot and kept up all the time.

Later on i will have to share it with the local clients using NAT (Internet connection sharing).

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.