Article 5J1BM Adapting firewall rules to access local network without going through VPN

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 statuslatest?d=yIl2AUoC8zA latest?i=mPJ8w24MyTU:LxIhqP0WTGY:F7zBnMy latest?i=mPJ8w24MyTU:LxIhqP0WTGY:V_sGLiP latest?d=qj6IDK7rITs latest?i=mPJ8w24MyTU:LxIhqP0WTGY:gIN9vFwmPJ8w24MyTU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments