Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Killswitch #8

Closed
morpheusthewhite opened this issue Jan 10, 2019 · 2 comments
Closed

Killswitch #8

morpheusthewhite opened this issue Jan 10, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@morpheusthewhite
Copy link
Owner

Implement a killswitch

@morpheusthewhite morpheusthewhite added the help wanted Extra attention is needed label Jan 10, 2019
@corrad1nho
Copy link

One way to approach this is using a firewall that blocks non-VPN connections. I have created a similar project and you can see the rules I'm using in this file. The actual script (Python, too) is here.

Things to consider:

  • you'll have to allow the entry-ip of the OpenVPN server, too, if the firewall / killswitch is active before making a connection attempt
  • it might make sense to restore flushed rules after closing the app / the connection
  • if ipv6 is not needed you can block it entirely

@morpheusthewhite
Copy link
Owner Author

Thank you, you made my day!

@morpheusthewhite morpheusthewhite removed the help wanted Extra attention is needed label Jan 29, 2019
@morpheusthewhite morpheusthewhite added the enhancement New feature or request label Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants