OpenVPN IP Checker


Recommended Posts

I am using binhex/rtorrentvpn container, I know he has build in a killswitch, but I wanted to be sure it always ran on VPN.

Therefor I created a script, that will check what public IP the container is running on.

If it gives the wrong IP, of if any variables shows empty values, it will stop the container + send a email

 

A guy on reddit wanted me to post it, so I thought maybe you guys on the forum wanted it too.

 

I am no expert at linux scripting, still learning. Maybe it could have been made in a smarter way, but it works :)

 

https://github.com/ZataH/rtorrentvpncheck

Link to comment
  • 2 weeks later...

I don't really see the point of this when the Docker already runs a check to make sure it is still connected to the VPN server. Do you not trust it? Binhex has been doing this for a while now. I trust that he knows what he's doing.

I am not saying he hasnt done a good job, but human error can occur. And there is nothing wrong, with a extra layer of security :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.