A
A
Andrey Fedorov2014-08-06 09:49:25
linux
Andrey Fedorov, 2014-08-06 09:49:25

OpenVPN how to set push routes for only part of clients?

I can not fully figure out the openvpn setup.
The bottom line is that many different devices are connected to my server: a home and work machine, a phone, a tablet.
For some clients (such as a phone, tablet), I want to set traffic routing through VPN, and for home and work machines, leave everything as it is.
I can't figure out how to make the config.
For each device, I have created my own certificate and settings in ccd/.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konkase, 2014-08-06
@4b65696e

just for the desired client in the ccd / client file, add the route announcement,
do not forget to add the line in the server config file:
client-config-dir ccd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question