OpenVPN client config

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

clown
Posts: 12
Joined: Sat Mar 09, 2013 12:57 pm

OpenVPN client config

Post by clown »

Has anyone successfully set up an OpenVPN client config (from a VPN service provider) with Gargoyle??

I have a TP-Link WR1043nd that was running Gargoyle, however Gargoyle was unable to read the VPN provider config files. I flashed DD-WRT and it's now up and running using the same config files.

I bought a TP-Link WDR3600 yesterday and I would prefer to flash Gargoyle on it, but if the VPN client config cannot be used, there is no point. Is there another way to transfer my config files other than the GUI in Gargoyle??

Thanks.

clown
Posts: 12
Joined: Sat Mar 09, 2013 12:57 pm

Re: OpenVPN client config

Post by clown »

bump

clown
Posts: 12
Joined: Sat Mar 09, 2013 12:57 pm

Re: OpenVPN client config

Post by clown »

Has anyone successfully set up an OpenVPN client config (from a VPN service provider) with Gargoyle??

Thanks for your help.

Trigger Happy
Posts: 4
Joined: Thu Jul 11, 2013 12:48 pm
Contact:

Re: OpenVPN client config

Post by Trigger Happy »

bump

Same problem here, with TL-WDR4300, Gargoyle 1.5.10.

VPN provider https://mullvad.net/en/.
jabber: triggerhappy@jabber.ccc.de (otr) mail: http://scr.im/ancap

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: OpenVPN client config

Post by Eric »

I'm assuming you've selected "Upload Client Configuration Files" and then "Individual Configuration Files" under "Upload Format". I don't know what format you got the config from the provider in, but just uploading a zip file may not work if the names of the files in the zip file aren't what it expects. Upload the configs files/certificates/keys individually, specifying what each is.

If that's not the problem can you post the .conf file, sometimes labeled as a .ovpn file [NOT the certificates, keys, etc. -- these are the keys/passwords that would allow someone else to use your account, never share those] here?

If I know what directives are in the OpenVPN config file it might help me figure out why it's not working, but no guarantees.

Trigger Happy
Posts: 4
Joined: Thu Jul 11, 2013 12:48 pm
Contact:

Re: OpenVPN client config

Post by Trigger Happy »

You can generat file here - https://mullvad.net/en/openvpn_conf.php this is a trial it will last for 6 h. Just click "Create new account" . Thanks in advance.
jabber: triggerhappy@jabber.ccc.de (otr) mail: http://scr.im/ancap

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: OpenVPN client config

Post by Eric »

Use a text editor to remove the comments (lines that start with '#') in the mullvad_linux.conf before uploading it. One of the comments (the one with quotation marks, the first line of the file) causes a parse error.

Other than that, just upload the necessary files. OpenVPN config = mullved_linux.conf, ca certificate file = master.mullvad.net.crt (or ca.crt, they are identical), client certificate = mullvad.crt, client key = mullvad.key

Also.. as far as I can tell there is no free trial. You can download config files, but they don't work if you don't pay anything. It cost me about 30 cents worth of bitcoin to test it.

billbo
Posts: 2
Joined: Fri Jul 12, 2013 4:59 am

Re: OpenVPN client config

Post by billbo »

Hope you don't mind me also joining the thread, as I'm also having trouble setting up openvpn (with airvpn.org).

The config file (ovpn) they generate includes all the certs etc within the file. So, I've saved 3 seperate files from the ----BEGIN to the END...----- for each of the appropriate parts.

I've also saved shortened ovpn wih the following:-
client
dev tun
proto udp
remote gb.airvpn.org 443
resolv-retry infinite
nobind
ns-cert-type server
cipher AES-256-CBC
comp-lzo
verb 3
explicit-exit-notify 5

Have then uploaded singles files (also tried supplying the same data within the manual setup section as well), but I get the error:
Parameters saved but OpenVPN failed to connect. Re-check your configuration.

Any thoughts as to whats wrong, or how to investigate further.

Thanks.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: OpenVPN client config

Post by Eric »

Try to connect to openvpn (which will fail per what you just said), then ssh into the router (user=root, password=[your web password], then run "logread", and post the output here. That will give you more detailed errors.

billbo
Posts: 2
Joined: Fri Jul 12, 2013 4:59 am

Re: OpenVPN client config

Post by billbo »

After my post, I continued "fiddling" and had come across another site that talked about using logread. This pointed to a "Cannot parse IP address 443".

Somewhere else talked about leaving the server field blank, saving and then retrying after 5 minutes or so.

Lo, and behold it appeared to have worked for me.

Although, I notice one thing (and feel free to tell me to start a new thread :D )
Is that performance appears to be significantly less than when I run the openvpn client locally on my PC going from 50mbps to about 4 mbps - is this normal, I had expected some but hadn't been aware it might be that significant.
I've heard others with openwrt talking about using VLAN's and a VM on an actual PC to channel all internet traffic through. Does anybody know is gargoyle will allow for the creation of a VLAN and could possibly point me in the direction of a tutorial or guide that might assist.

Thanks again.

BIllbo

Post Reply