Adapting firewall rules to access local network without going through VPN
by binkyd from LinuxQuestions.org on (#5J1BM)
Linux Mint's Warpinator doesn't work with a VPN connected.
Would it be possible to write firewall rules that would allow that app to not use the VPN?
(Split-tunneling doesn't work, cuz that still goes out to the Internet, doesn't stay local.)
Could these old kill-switch rules (below) be adapted, maybe?
Code:sudo ufw default deny outgoing
sudo ufw default deny incoming
sudo ufw allow out on tun0 from any to any
sudo ufw allow in on tun0 from any to any
sudo ufw allow out from any to <address of vpn>
sudo ufw enable
sudo ufw status


Would it be possible to write firewall rules that would allow that app to not use the VPN?
(Split-tunneling doesn't work, cuz that still goes out to the Internet, doesn't stay local.)
Could these old kill-switch rules (below) be adapted, maybe?
Code:sudo ufw default deny outgoing
sudo ufw default deny incoming
sudo ufw allow out on tun0 from any to any
sudo ufw allow in on tun0 from any to any
sudo ufw allow out from any to <address of vpn>
sudo ufw enable
sudo ufw status