This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
networking:remote:openvpn [2012/01/17 09:52] gcooper created |
networking:remote:openvpn [2016/12/05 08:55] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenVPN ====== | ====== OpenVPN ====== | ||
+ | |||
+ | **FreePBX OpenVPN**: http:// | ||
+ | |||
+ | OpenVPN is an SSL-based VPN technology that can run on both Linux and Windows systems. | ||
+ | |||
+ | ^TUN |Routed Server | ||
+ | ^TAP |Bridged Server | | ||
+ | |||
+ | ===== Testing Connections ===== | ||
+ | |||
+ | < | ||
+ | ifconfig | ||
+ | |||
+ | route -n | ||
+ | |||
+ | ping < | ||
+ | |||
+ | ping <host IP> | ||
+ | |||
+ | cat / | ||
+ | </ | ||
===== Client ===== | ===== Client ===== | ||
+ | |||
+ | ==== Routing ==== | ||
+ | |||
+ | FIXME | ||
+ | |||
+ | You may find that the VPN connection pushes a new Default Route to your remote workstation. | ||
+ | |||
+ | If you prefer **not** to route **all** traffic over the VPN connection, try **adding a route on the IPv4 tab** when editing the NetworkManager VPN connection. Try adding a route something like: | ||
+ | |||
+ | |**Setting Name**|**Setting Data**|**Description**| | ||
+ | |address|10.0.0.0|Network subnet behind VPN server| | ||
+ | |netmask|255.0.0.0|Netmask of subnet behind VPN server| | ||
+ | |gateway|10.0.0.1|Remote OpenVPN server' | ||
+ | |metric|1000|Won' | ||
+ | |Ignore automatically obtained routes|Selected (Checked)|Ignore routes pushed from VPN server| | ||
+ | |Use this connection only for resources on this network|Selected (Checked)|Use your local Internet connection for off-VPN resources| | ||
==== Fedora 16 ==== | ==== Fedora 16 ==== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | === Installation === | ||
Verify these packages are installed (probably by default): | Verify these packages are installed (probably by default): | ||
Line 11: | Line 52: | ||
</ | </ | ||
+ | === Command Line === | ||
+ | |||
+ | < | ||
+ | cd Dropbox/ | ||
+ | sudo openvpn filename.ovpn | ||
+ | </ | ||
+ | |||
+ | === NetworkManager GUI === | ||
+ | |||
+ | Using NetworkManager for VPN connections is easy for users to manage and doesn' | ||
+ | |||
+ | :!: If a .ovpn file is provided, use it for clues to configure the NetworkManager VPN connection. | ||
+ | |||
+ | **Click NetworkManager icon -> Network Settings** | ||
+ | |||
+ | **Click + (Plus Symbol) -> VPN -> Create -> OpenVPN** | ||
+ | * Name of Connection | ||
+ | * Remote VPN Server (Gateway) | ||
+ | * Certificates (TLS) | ||
+ | * Browse to certificate (.p12 file) assigned by OpenVPN admin | ||
+ | * You might store your VPN configuration files and certs in a Dropbox folder | ||
+ | * Password assigned by OpenVPN admin | ||
+ | * Advanced | ||
+ | * General Tab | ||
+ | * Use LZO Compression | ||
+ | * Use Custom MTU - 1400 | ||
+ | * Security Tab | ||
+ | * Cipher - BF-CBC |