This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openvpn [2012/06/25 07:31] ispyisail [Connection Types] |
openvpn [2016/05/07 21:39] (current) ispyisail |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | | ||
====== OpenVPN ====== | ====== OpenVPN ====== | ||
- | {{INLINETOC 2 4 }} | + | |
===== Introduction ===== | ===== Introduction ===== | ||
==== VPN ==== | ==== VPN ==== | ||
- | A virtual private network (VPN) is a private network that interconnects | + | A virtual private network (VPN) is a private network that connects |
- | There are two main types of VPN: remote-access VPNs and Site-to-site VPNs. Remote-access VPNs allow individual users to connect to a remote network such as roaming salespeople connecting to their company' | + | There are two main types of VPN: remote-access VPNs and Site-to-site VPNs. Remote-access VPNs allow individual users to connect to a remote network such as roaming salespeople connecting to their company' |
==== OpenVPN ==== | ==== OpenVPN ==== | ||
- | OpenVPN is a full-featured open source SSL VPN solution that accommodates a wide range of configurations, | + | OpenVPN is a full-featured open source SSL VPN solution that accommodates a wide range of configurations, |
+ | ====== Requirements ====== | ||
- | ===== Connection Types===== | + | |
+ | ===== Router Requirements ===== | ||
+ | You will need an atheros ar71xx based router with at least 8MB of flash and 32MB of memory (e.g. TP-Link 1043ND, Netgear WNDR3700v1-2/ | ||
+ | |||
+ | ====== Connection Types ====== | ||
Line 20: | Line 26: | ||
==== Remote-Access ==== | ==== Remote-Access ==== | ||
- | {{ : | + | ---- |
+ | |||
+ | {{: | ||
+ | |||
+ | === Site-to-Site === | ||
+ | |||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | === Setup === | ||
+ | |||
- | ==== Site-to-Site ==== | ||
- | {{ : | ||
- | ===== Set-up ===== | ||
In your router configuration select **OpenVPN** Configuration | In your router configuration select **OpenVPN** Configuration | ||
Line 41: | Line 57: | ||
**select option 3.** - Setup router as a open VPN server | **select option 3.** - Setup router as a open VPN server | ||
+ | |||
+ | One very important caveat: If your router is configured as an OpenVPN client, per-IP bandwidth monitoring and per-IP quotas **will not work**. Quotas that apply to the whole network, and total bandwidth usage statistics will still be accurate. | ||
+ | |||
+ | |||
Line 52: | Line 72: | ||
|OpenVPN Protocol: | |OpenVPN Protocol: | ||
|OpenVPN Cipher: | |OpenVPN Cipher: | ||
- | ^Client-To-Client Traffic:^ | + | |
+ | ---- | ||
+ | |||
+ | **Client-To-Client Traffic:** | ||
+ | |||
+ | ---- | ||
- Clients Can Only Communicate With Server | - Clients Can Only Communicate With Server | ||
Line 65: | Line 91: | ||
When this option set to "Allow Clients", | When this option set to "Allow Clients", | ||
- | ^LAN Subnet Access:^ | + | ---- |
+ | |||
+ | **LAN Subnet Access:** | ||
+ | |||
+ | ---- | ||
- Clients Can Not Access LAN | - Clients Can Not Access LAN | ||
Line 72: | Line 103: | ||
**Select option 1.** - Remotely connected clients can not access the LAN. | **Select option 1.** - Remotely connected clients can not access the LAN. | ||
- | **Select option 2.** - Allow remotely connected clients full access to the LAN. | + | **Select option 2.** - Allow remotely connected clients full access to the LAN. |
+ | ---- | ||
+ | |||
+ | **Credential Re-Use:** | ||
+ | |||
+ | ---- | ||
- | ^Credential Re-Use:^ | ||
- Credentials Are Specific To Each Client | - Credentials Are Specific To Each Client | ||
Line 84: | Line 119: | ||
**Select option 2.** - Client configuration file can be used on more than one OpenVPN remote client | **Select option 2.** - Client configuration file can be used on more than one OpenVPN remote client | ||
- | ^Clients Use VPN For:^ | + | ---- |
+ | |||
+ | **Clients Use VPN For:** | ||
+ | |||
+ | ---- | ||
- All Client Traffic | - All Client Traffic | ||
Line 93: | Line 133: | ||
**Select option 2.** - All traffic execpt Traffic Destined for Hosts Behind VPN to be routed through local connection | **Select option 2.** - All traffic execpt Traffic Destined for Hosts Behind VPN to be routed through local connection | ||
- | Note: If option one is selected and the VPN connection is broken all traffic will be blocked. | ||
- | |||
+ | //Note: If option 1. is selected Gargoyle controls all internet traffic for the connected client which could cause undesired and unexpected results.// | ||
Line 102: | Line 141: | ||
- | |||
- | |||
- | |||
+ | |||