Changes between Version 1 and Version 2 of GettingStartedwithOVPN
- Timestamp:
- 02/12/16 18:30:15 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GettingStartedwithOVPN
v1 v2 61 61 }}} 62 62 63 For advanced setups, it is also possible to use <connection>blocks, read more about that in the OpenVPN man page:63 For advanced setups, it is also possible to use <connection> blocks, read more about that in the OpenVPN man page: 64 64 https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage 65 65 … … 272 272 This is a very basic setup. And when we now start on the routing part, the VPN setup is mostly done. All you need now is to add the needed routes you need, just like you would do for normal TCP/IP routing. 273 273 274 BEWARE:274 '''BEWARE''': 275 275 Remember that you also need to consider what is called "return routes". If your VPN client can access a host behind your VPN server, it does not mean that the host behind the VPN server will send the response via the same route. So you need to ensure that your hosts behind your VPN server also knows which gateway to use for your VPN. Nowadays this is most commonly fixed by adding a route on your existing default gateway. And if you run OpenVPN on an existing gateway, you have this return route already impllicitly configured. 276 276 277 For a more detailed example using routing, see the [https://community.openvpn.net/openvpn/wiki/BridgingAndRouting#Usingrouting Using routing] section in the 'Bridiging and routing' wiki page. 277 278 278 279 === Routing everything over the VPN ===