Jump to content
TorGuard
  • 0
racer5

Disallow WAN access without VPN?

Rate this question

Question

racer5

I'd like to create a docker instance that uses linux that automatically sets up a torguard vpn. If the link isn't connected or goes down, I want all WAN access disabled.

How do I do that? (I don't want a fallback to default WAN access.) 

I'd like a secure browsing sandbox that only communicates using torguard for wan--based on docker. Open to existing solutions! I haven't used Torguard on linux yet, but on windows sometimes the connection drops and I don't notice. Plus I don't really trust Windows. 

Thanks for any pointers. I'm agnostic about Ubuntu vs. Centos.. could go with something else too. 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Support
On 11/09/2018 at 10:30 PM, racer5 said:

I'd like to create a docker instance that uses linux that automatically sets up a torguard vpn. If the link isn't connected or goes down, I want all WAN access disabled.

How do I do that? (I don't want a fallback to default WAN access.) 

I'd like a secure browsing sandbox that only communicates using torguard for wan--based on docker. Open to existing solutions! I haven't used Torguard on linux yet, but on windows sometimes the connection drops and I don't notice. Plus I don't really trust Windows. 

Thanks for any pointers. I'm agnostic about Ubuntu vs. Centos.. could go with something else too. 

 

You can do so on any build, using iptables it's fairly straightforward, check here:

https://linuxconfig.org/how-to-create-a-vpn-killswitch-using-iptables-on-linux

Regards

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...