tiny docker image to determine if you're on a vpn network
Find a file
2026-03-01 13:42:21 +00:00
services Update and touch up a litte 2026-03-01 13:42:21 +00:00
.prettierrc Add .prettierrc 2023-09-29 03:51:10 -04:00
Dockerfile Update and touch up a litte 2026-03-01 13:42:21 +00:00
go.mod Update and touch up a litte 2026-03-01 13:42:21 +00:00
go.sum Update and touch up a litte 2026-03-01 13:42:21 +00:00
gopher.png Update and touch up a litte 2026-03-01 13:42:21 +00:00
Justfile Update and touch up a litte 2026-03-01 13:42:21 +00:00
LICENSE Initial commit 2021-04-30 16:50:04 -07:00
main.go Update and touch up a litte 2026-03-01 13:42:21 +00:00
README.md Update and touch up a litte 2026-03-01 13:42:21 +00:00
template.html Update and touch up a litte 2026-03-01 13:42:21 +00:00

is vpn

tiny docker image to determine if you're on a vpn network

  • / returns a html page
  • /api returns json

services available:

  • expressvpn1
  • mullvad1
  • nordvpn1
  • privateinternetaccess or pia
  • surfshark1

usage

docker run --rm -it -p 8080:8080 -e SERVICE=pia git.ran.cafe/maki/is-vpn:latest
services:
    is-vpn:
        image: git.ran.cafe/maki/is-vpn:latest
        restart: always
        # network: service:vpn
        ports:
            - 8080:8080
        environment:
            - SERVICE=pia

find rest in Justfile


  1. may be broken ↩︎