brianhornsby / script.openvpn

A script that allows you to control OpenVPN from within Kodi.
http://brianhornsby.com/kodi_addons/openvpn
GNU General Public License v3.0
91 stars 30 forks source link

Configure RPi to only use openvpn #45

Closed GonzaloNV closed 2 years ago

GonzaloNV commented 8 years ago

Hello, firstly, if this is not the right place to ask this questions, please let me know. Now onto my issue: I´m using the script on a RPi2 running OSMC. So far I've had no problems with it. I would like to know if there´s a way I can have osmc only route the traffic through the vpn, as it has happened to me that the vpn somehow falls and I start leaking my ip =( Could anyone help me with that?

Thanks a lot!

jcwchssc commented 8 years ago

I think what you are asking is this: Can I restrict all OSMC traffic to VPN? If VPN goes down, cease all network traffic? Maybe through systemd dependencies? https://wiki.archlinux.org/index.php/systemd

GonzaloNV commented 8 years ago

Yes, that's exactly what I want. Though I'm afraid I'm not savy enough to be able to do anything with that information. So far I'm merely a follow-a-how-to kind of user...

On Tue, 2 Feb 2016 18:54 jcwchssc notifications@github.com wrote:

I think what you are asking is this: Can I restrict all OSMC traffic to VPN? If VPN goes down, cease all network traffic? Maybe through systemd dependencies? https://wiki.archlinux.org/index.php/systemd

— Reply to this email directly or view it on GitHub https://github.com/brianhornsby/script.openvpn/issues/45#issuecomment-178718442 .