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!

Related Questions

Samba share permission denied user writing file but still shows

1  Asked on January 6, 2022 by shrimpwagon


QEMU – network bridge

2  Asked on January 6, 2022 by matthew-lugg


What happens when you run out of PIDs?

3  Asked on January 5, 2022 by fpf3


Encrypting archive and then dividing it into many parts

2  Asked on January 5, 2022 by user216488


Monitoring CPU and temperature

5  Asked on January 5, 2022 by zeno-raiser


cURL url_effective with Hash

2  Asked on January 5, 2022 by zombo


How to delete files using grep?

1  Asked on January 5, 2022


sudo twice become method for Ansible

0  Asked on January 5, 2022


dotnet –help -> Segmentation fault (core dumped)

1  Asked on January 5, 2022 by szoke-lorand


Create DNS query with Netcat or /dev/udp/

1  Asked on January 3, 2022 by user424280


Ask a Question

Get help from others!

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