K
K
K1N62014-05-21 10:01:04
openvpn
K1N6, 2014-05-21 10:01:04

How to route traffic to specific hosts via openvpn (OS X)

Hello.
Tell me how to make traffic only to certain hosts go through openvpn, and the rest as usual, bypassing vpn.
Axis - os x 10.9. Set up tunnelblick. Everything works, but it seems that (almost) all traffic goes through vpn.
Googled, didn't find anything useful. Maybe I didn't search well

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sonik_spb, 2014-05-21
@sonik_spb

This can be configured on the server side. There you can register routes for each connected user.
You need to add ../openvpn/ccd/client name to the file:
push "route 8.8.8.8 255.255.255.255"
And remove the line:
push redirect-gateway def1 bypass-dhcp
Then all traffic up to 8.8. your channel on the Internet.
ps in the server openvpn config there should be a line:
client-config-dir /etc/openvpn/ccd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question