Reply
New Member
Posts: 5
Registered: ‎05-22-2013
Accepted Solution

EdgeRouter Lite OpenVPN Client Config for Untangle Server

I have an Untangle Server that serves as our Firewall/UTM for our Headquarters site. We have a remote site and I am trying to setup my EdgeRouter Lite to provide VPN access between the two sites with OpenVPN. Untangle creates an *.ovpn config file that is easily loaded into a Linux device for establishing the OpenVPN connection. Here are the edited contents of the *.ovpn file:

 

client
resolv-retry 20
keepalive 10 60
nobind
mute-replay-warnings
ns-cert-type server
comp-lzo
verb 1
persist-key
persist-tun
dev tun
proto udp
port 1194
cipher AES-128-CBC
cert keys/HQ-EdgeRouterLite.crt
key keys/HQ-EdgeRouterLite.key
ca keys/HQ-EdgeRouterLite-ca.crt
remote hq.mycorpdomain.com 1194 # public address 
remote 12.3.456.78 1194 # static WAN 1

 Is it possible to use this config file when setting up the EdgeRouter Lite? In searching the community and Wiki, I found a reference to someone using an *.ovpn file, but they didn't include any instructions on setting it up. Anyway, I have spent about a day searching and testing, but have been unable to get things working yet. I would appreciate any help you can provide.


Accepted Solutions
Ubiquiti Employee
Posts: 2,991
Registered: ‎02-04-2013
Kudos: 352
Solutions: 289

Re: EdgeRouter Lite OpenVPN Client Config for Untangle Server

Save the ovpn file under /config, then -

ubnt@manual-dut3-poe# set interfaces openvpn vtun0 config-file /config/c1.ovpn
[edit]
ubnt@manual-dut3-poe# commit
[edit]

 

View solution in original post

Highlighted
Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5465
Solutions: 1656
Contributions: 2

Re: EdgeRouter Lite OpenVPN Client Config for Untangle Server

Note also that you need to change the following line in the ovpn file

dev tun

to the following:

dev-type tun

Also, you probably want to make sure the certs/keys are placed in the "/config" directory and change the paths to the certificates/key to the "full paths" (e.g., "cert /config/auth/HQ-EdgeRouterLite.crt").

View solution in original post


All Replies
Ubiquiti Employee
Posts: 2,991
Registered: ‎02-04-2013
Kudos: 352
Solutions: 289

Re: EdgeRouter Lite OpenVPN Client Config for Untangle Server

Save the ovpn file under /config, then -

ubnt@manual-dut3-poe# set interfaces openvpn vtun0 config-file /config/c1.ovpn
[edit]
ubnt@manual-dut3-poe# commit
[edit]

 

Highlighted
Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5465
Solutions: 1656
Contributions: 2

Re: EdgeRouter Lite OpenVPN Client Config for Untangle Server

Note also that you need to change the following line in the ovpn file

dev tun

to the following:

dev-type tun

Also, you probably want to make sure the certs/keys are placed in the "/config" directory and change the paths to the certificates/key to the "full paths" (e.g., "cert /config/auth/HQ-EdgeRouterLite.crt").

Reply