2017-10-02 22:21 GMT+05:00 Xen <l...@xenhideout.nl>:

> Илья Шипицин schreef op 02-10-2017 18:41:
>
> This is a great idea.
>>>
>>
> I do not think so.
>> consider a "road" warrior" with a laptop
>>
>
> 1) when in office, usually you get 0.0.0.0/0 route, i.e. default
>>
>
> 2) when connected via vpn, you get a bunch of routes via vpn and 0.0.0.0/0
>> via local ISP.
>>
>
> any non-default route will win because of shorter network mask no matter
>> what routing metric is.
>>
>
> Non-default routes only serve non-default targets.
>


 consider the following setup

office
LAN1: 192.168.100.0/24
LAN2: 192.168.101.0/24

user only use default gateway, it serves both internet and LAN2 (when user
in LAN1)

if user connects to vpn, it will route to LAN2 through vpn gateway (it wins
over default route)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to