User Tools

Site Tools


networking:remote:openvpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:remote:openvpn [2012/01/17 11:08]
gcooper
networking:remote:openvpn [2016/12/05 08:55] (current)
gcooper
Line 1: Line 1:
 ====== OpenVPN ====== ====== OpenVPN ======
 +
 +**FreePBX OpenVPN**: http://wiki.freepbx.org/display/FPG/System+Admin+-+VPN+Server
  
 OpenVPN is an SSL-based VPN technology that can run on both Linux and Windows systems. OpenVPN is an SSL-based VPN technology that can run on both Linux and Windows systems.
  
-TUN Routed Server +^TUN |Routed Server  | 
-TAP Bridged Server+^TAP |Bridged Server |
  
 ===== Testing Connections ===== ===== Testing Connections =====
Line 16: Line 18:
  
 ping <host IP> ping <host IP>
 +
 +cat /etc/resolv.conf
 </file> </file>
  
Line 22: Line 26:
 ==== Routing ==== ==== Routing ====
  
-You may find that the VPN connection pushes a new Default Route.  This can wreak havoc on your VPN workstation behavior. +FIXME
- +
-You can get around this problem by adding a route on the IPv4 tab when editing the NetworkManager VPN connection. Try adding a route something like: +
- +
-address: 10.0.0.0 +
-netmask: 255.0.0.0 +
-gateway: 10.0.0.1 +
-metric: 1000+
  
-Also select:+You may find that the VPN connection pushes a new Default Route to your remote workstation.  This can wreak havoc on your VPN networking behavior...or it might be exactly what you want.
  
- ignore automatically obtained routes +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:
- use this connection only for resources on this network+
  
-The gateway was the remote OpenVPN server's private IP address.+|**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's private IP address
 +|metric|1000|Won't matter much unless thereare multiple routes to same subnet| 
 +|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 ====
networking/remote/openvpn.1326823688.txt.gz · Last modified: 2012/01/17 11:08 by gcooper