Openvpn split route using linux namespace to route command line or gui applications over a vpn
HTML-код
- Опубликовано: 7 фев 2025
- How to create a split vpn route using linux namespace, this allows to have two network outputs, our regular connection and a vpn connection
We can then route individual command line or gui application over the vpn connection while still sending our normal traffic over our regular connection, which means you can watch things like bbc, itv and channel 4 while being connected to the vpn which may be in another country
In this video i show you how to create a vpn script to launch our vpn, and create a namespace script to send individual applications over the vpn
This allows us to set out torrent client to send its traffic over the vpn,
as well as creating a desktop entry for firefox so we can launch firefox using our application launcher and send all it traffic over the vpn
I also cover how check the ip address of the browser and torrent client to make sure they are sending their traffic over the vpn, and how to set up the unbound dns server to send all our dns traffic over the vpn
Editing the sudoers file so we can set applications to use the vpn namespace without entering our sudo password so we can launch firefox or gui applications from our application launcher like rofi instead of using the terminal and having to enter our password
As well as how to restyle firefox to change the floating tabs back to regular tabs and remove the close and resize buttons and set youtube and duckduck html to have a dark theme
show notes:
github.com/Nap...
vpn-netns:
github.com/Nap...
netns-vpn:
github.com/Nap...
namespace:
github.com/Nap...
torrents:
github.com/Nap...
namespace-firefox.desktop:
github.com/Nap...
inspired by Sebastian Thorarensen's netns-script.
reference links:
www.naju.se/art...
coldfix.eu/201...
qasimk.io/2018...
firefox-css:
github.com/Nap...
styling firefox proton:
www.userchrome...
stying firefox tabs:
www.userchrome...