Changes between Version 1 and Version 2 of GettingStartedwithOVPN


Ignore:
Timestamp:
02/12/16 18:30:15 (8 years ago)
Author:
David Sommerseth
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GettingStartedwithOVPN

    v1 v2  
    6161}}}
    6262
    63 For advanced setups, it is also possible to use <connection> blocks, read more about that in the OpenVPN man page:
     63For advanced setups, it is also possible to use <connection> blocks, read more about that in the OpenVPN man page:
    6464https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
    6565
     
    272272This 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.
    273273
    274 BEWARE:
     274'''BEWARE''':
    275275Remember 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.
    276276
     277For 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.
    277278
    278279=== Routing everything over the VPN ===