Article 5J78E Need Help share vpn via ethernet avoiding any leak

Need Help share vpn via ethernet avoiding any leak

by
antiquityaspect
from LinuxQuestions.org on (#5J78E)
I need your help.
I want to share my vpn connection via ethernet cable.
I'm on debian and have set everything up via nm-connection-editor and openvpn and it works.
But I want to create a killswitch for the vpn, all traffic through lan must be under vpn, and if the vpn disconnects I don't have to have any connectivity.
I need to set up a static ip or firewall rules but I don't know how to do it.
My goal is to ensure the vpn connection to a client connected via ethernet to my pc with debian, avoiding any ip leaklatest?d=yIl2AUoC8zA latest?i=qafZe4eHFy0:gt5SvXPO7ZQ:F7zBnMy latest?i=qafZe4eHFy0:gt5SvXPO7ZQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=qafZe4eHFy0:gt5SvXPO7ZQ:gIN9vFwqafZe4eHFy0
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