Networking

How to Configure Untangle site to site VPN

How to Configure Untangle site to site VPN

In working on a DR project utilizing two Untangle virtual appliances, I had the need to setup a site to site VPN connection between the Untangle firewalls. ย The OpenVPN documentation is fairly decent on the Untangle site, however, the information regarding the site to site VPN is limited. ย I wanted to detail for you guys how to configure untangle site to site VPN. ย The process is fairly straight forward and you should be able to be up and running fairly quickly. ย I will detail some of my observations as well with the process and troubleshooting.

How to Configure Untangle site to site VPN

When we look at how to configure untangle site to site VPN, the site to site VPN is pretty straight forward to setup and requires you to setup one side as the “server” and one side as the “client”. ย Let’s take a look from the server side over to the client side and then back again to see the setup in action.

First things first, on both Untangle appliances, you need to add the OpenVPN app to your rack. ย Once you have it installed, you will see it in the appliance interface.

site2site01

Server Side

On the Untangleย server, we will mainly concentrate on the status and server tabs. ย As you can see below, make sure OpenVPN isย enabled.

site2site02

Next, on theย server tab, we have several configurables.

  • Site Name – Identifies your VPN server connection
  • Site URL – This is not configurable and is taken from theย Configuration >> Administration >> Public Address
  • Server Enabled – Make sure this is checked
  • Address Space – Make sure this is a unique address space on your network on both sides.
  • NAT OpenVPN Traffic – By default this is checked and NAT’s the LAN-bound VPN traffic to a local address

site2site03

On the server tab underneath the section above, we have theย Remote Clients tab on which we configure the “client” side of things. ย Click toย Add a remote client.

site2site04

On the Add screen, we can name our client, assign it to a group and specify the Type. ย On the Type, be sure to specifyย Network. ย In the remote networks field, you will want to list the networks on theย client side that you want to be accessible from the server side of things.

site2site05

You can also set which networks getย exported over to the client side with the Exported Networks tab.

site2site11

If you click theย Add button, you will be able to add subnets to export.
site2site12

After you have everything set as you want it, you need to go back to theย Remote Clients tab and download the client of the Client name you are setting up.

site2site06

When you click to download the client, you need to select “Click here to download this client’s configuration file for remote Untangle OpenVPN Clients“. ย This will be aย .zip file for configuring Untangle.

site2site06b

Client Side:

On the client side, you notice on theย Server tab, we don’t have theย Server Enabled checked.

site2site07

On client side, we are concerned with theย Client tab intuitively. ย Notice at the bottom of the screen, we have aย Configure a new Remote Server connection option to browse to a configuration file. ย You guessed it – this is the zip file that we downloaded above for the Untangle format. ย You don’t have to unzip the file, just upload it as is and the console will read it in. ย Make sure also, the box forย Enabled is checked (which it is by default).

A note here – one of the frustrations I had in figuring out what was actually going on here is that I assumed there was some sort ofย connect action I needed to initiate to actually get the VPN to connect. ย This is not the case however. ย As long as theย Enabled box is checked and the OpenVPN module is enabled, it will start trying to connect on its own.

site2site08

On the client side, once you check the Enabled box, go back to theย Status tab and you should see theย Remote Server Status change toย true.

site2site09

On theย server side, you should see your client Untangle box show up in theย Connected Remote Clients.

site2site10

Troubleshooting:

The main issue I had with the OpenVPN server and client is that when you get to the point of establishing the connection, there are not any visible troubleshooting messages that are available to see what is actually going on. ย If you download the OpenVPN client for Windows, you will see what it is actually doing in the process. ย The Reports tab can be helpful, but only at a certain point in the process.

Also, make sure you haveย port 1194 open between your Untangle boxes as this is the OpenVPN port used. ย It is helpful to useย iftop if you are wanting to see ports trying to establish connection on your various interfaces. ย I used this a lot to see if the Untangle client was communicating or trying to communicate with OpenVPN.

Another thing I noticed, in my environment, it took several moments for the VPN to actually link up. ย So it wasn’t instantaneous.

Final Thoughts:

The OpenVPN in Untangle is a great way to establish site to site VPN between Untangle boxes. ย It is also free as opposed to the IPSec VPN app which is one of the pay for modules. ย However, there are some frustrations with visibility in troubleshooting information. ย All in all, I found the VPN client worked once I figured out the idiosyncrasies of the module and GUI interface. ย Hopefully this how to configure untangle site to site VPN post will help others step their way through the process.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

One Comment

  1. Hi

    Thank you for a great howto.

    I am struggling with one issue.
    The client untangle network can ping all the hosts on the serverside exported networks.
    But if a host on the server side exported networks ping a host on the client side network it is unreachable.

    Traceroute from exported networks also stop on the server side untangle and is not continueing to the cleint untangle.

    Have you seen this before?
    Allow pings is on on both untangles.

    Regards

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.