Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an PerfectPrivacy VPN connected via the OpenVPN-Network-Manger-Plugin (Ubuntu 12.04.1) and I want to assign a system wide proxy over that VPN.

I have tried proxydriver that should do that automatically, but it works partially. The browser says that I have the IP of the VPN, but when I tried to send an eMail over SMTP (Port 25), I can´t connect to the mail server. In our company the smtp server port is closed, but that should be not a problem, when I do that over a VPN, shouldn´t it?


share|improve this question
up vote 2 down vote accepted

To set up VPN proxy on Ubuntu, you need to make sure that some items are installed.

  • Make sure that the Network Manager applet is installed.
  • Make sure that the PPTP VPN Connection Manager is installed.
  • Once you have those installed, Click on the network icon in the top bar, choose Edit Connections, and aAdd a new VPN and select the type
    PPTP. Click Create.
  • Once created click on the network icon in the top bar, and choose VPN Connections1

For complete instructions Read On

1Source:How to set up VPN proxy on Ubuntu

share|improve this answer
Thank you for your reply. The VPN works fine, so I´m able to connect to the VPN-provider. When I open my browser and let me show my IP, it says that I have the VPN-IP, but the mail programm wont use the VPN, because in our company the port 25 is closed, so my mail programm can´t connect to the external smtp-server. So how can I check that my mail programm is using the VPN connection? – Nicolas Nox Sep 4 '12 at 11:43
What E-mail program are you using? – Mitch Sep 4 '12 at 11:48
Outlook with Crossover and Thunderbird, and both is the same problem. – Nicolas Nox Sep 4 '12 at 11:54
Can you post the output of /etc/hosts, and are you behind a firewall? – Mitch Sep 5 '12 at 5:45

Your Answer


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.