Secure VPN the Easy Way With the Linux-based Untangle Router - page 2
OpenVPN Server in a Few Click
All sites and clients must be configured with a key for the encryption to work. Plus VPN Clients (not VPN Sites) must have an OpenVPN client program installed. Luckily, Untangle helps you distribute these via email, a USB drive, or download. If you want to download the key directly to a computer, you must connect to the Untangle Web interface from that computer, otherwise it doesn't matter.
Bring up the Clients page and click the Distribute Key button next to the particular user or site. Then enter an email address and hit Send Email or click the links to save the key.
To transfer the key file onto your flash drive, you can use the Terminal. On the Untangle machine, click the Terminal shortcut on the bottom taskbar. If you have the client open, close or move the Web browser. Then use the cp command to copy the file from the Untangle machine to the USB drive; for example:
cp /home/kiosk/Desktop/key_file /path_to_USB_drive
To see a list of drive locations, you can enter df.
When configuring VPN sites and downloading the configuration file, keep in mind, you do not have to extract the config.zip file; you'll upload it as is. However, if you use the email method, you must copy down the Internet IP address of where the OpenVPN server is setup.
To set up users, make sure they install the client program. To connect or view connection details they can double-click the OpenVPN icon in the system tray of Windows. When they're connected, the icon will be green.
Configuring an Untangle machine as a VPN site
If you're doing site-to-site connection, you can configure the remote Untangle machines with the settings so they can connect to the VPN server:
- Open the OpenVPN App by clicking the Settings button from the rack.
- Click the Configure as VPN Client button.
- On the welcome to the wizard page, click Next.
- If you have the Internet IP of the location where the OpenVPN server is located at, enter it and the Untangle password for that location. Otherwise, hit the Upload Configuration radio button and click Browse to select the config.zip file. Then hit Next.
- On the Finished page, click Save.
Test out the VPN
We've setup the server and the clients and/or sites. Now everything should be connected and working. Just to make sure though, try to access a server or computer on the VPN but from another location. You can try to bring up a machine by typing its UNC path, such as \\IPAddress_of_Computer or \\ComputerHostname, in a Windows Explorer or browser window.
Eric Geier is an author of many computing and networking books, including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Microsoft Windows Vista (Que 2007).
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative