0

ubuntu 16.04,

I got a file

@nnn.nnn.nnn.nnn.ovpn,

which was created by a sophos firewall especially for non-windows-systems.

When I try to create the vpn-connection by "adding a stored vpn-configuration", the system tells me something like "vpn connection could not be imported .... no readable vpn informations". Even the first line is not accepted:

client

dev tun

proto tcp

remote nnn.nnn.nnn. 443

Setting up the vpn-connection via a terminal window works fine:

sudo openvpn --config @nnn.nnn.nnn.nnn.ovpn.ovpn

The connection is established,

ifconfig tun0

results in:

tun0 Link encap:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

      inet Adresse:10.nnn.2.3  P-z-P:10.nnn.2.3  Maske:255.255.255.0

      UP PUNKTZUPUNKT RUNNING NOARP MULTICAST  MTU:1500  Metrik:1

      RX-Pakete:43 Fehler:0 Verloren:0 Überläufe:0 Fenster:0

      TX-Pakete:43 Fehler:0 Verloren:0 Überläufe:0 Träger:0

      Kollisionen:0 Sendewarteschlangenlänge:100 

      RX-Bytes:4282 (4.2 KB)  TX-Bytes:3524 (3.5 KB)

This doesnt really help, because I don't know how to go on to use this connection. But I think it confirms that the .ovpn-config-file is ok. This means, that the ubuntu-network-manager does not work.

Can anybody help me ?

Thanks a lot

Bernhard

0

Maybe it's related to know Bug?

cannot import saved openVPN configuration file in Ubuntu 16.04 LTS

Try commenting out the following line, I was able to successfully import the VPN config:

route remote_host 255.255.255.255 net_gateway default

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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