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 leak
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 leak