Route all traffic via OpenVPN

Unix & Linux Asked by ihor_dvoretskyi on December 17, 2020

I’m using ChromeOS with openvpn binary to connect to the OpenVPN server, at the same time only traffic that has to be routed to the internal network, routes to it; the general traffic routes as usual.

How can I route all the traffic to VPN? As I’m using ChromeOS, the best solution for me will be configuring *.ovpn file itself.

One Answer

You can use route or iptables. I think similar question was already asked: OpenVPN not default gateway for all traffic.

Answered by Damanjeet Singh on December 17, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP