Sign inSign up

archef2000/iodine

By archef2000

Updated almost 3 years ago

Iodine VPN over DNS server/client in docker

Image
0

749

archef2000/iodine repository overview

iodine

Iodine VPN over DNS server/client in docker

Docker run/compose

docker-compose
services:
  iodine:
    image: archef2000/iodine:latest
    container_name: iodine
    privileged: true
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.ip_forward=1
      - net.ipv4.conf.all.src_valid_mark=1
    ports:
      - 53:53/udp
    devices:
      - /dev/net/tun:/dev/net/tun
    environment:
      - PASSWORD=***
      - DOMAIN=srv.test.com
    restart: unless-stopped
docker-run
docker run --name iodine --privileged \
  --cap-add NET_ADMIN --cap-add SYS_MODULE \
  --sysctls net.ipv4.ip_forward=1 --sysctls net.ipv4.conf.all.src_valid_mark=1 \
  --port 53:53/udp -e PASSWORD=*** -e DOMAIN=srv.test.com --restart unless-stopped \
  archef2000/iodine:latest

Config

Universal
VariableFunction
PASSWORDPassword for authentication
DOMAINThe domain the iodine server is reachable at
Server
VariableFunction
MTUThe MTU of the vpn interface
DEV_TUNNELSpecify tunnel interface
LOG_LEVELSet debug log level to 0, 1 or 2
FORWARD_DESTDestination to forward to other
NETWORKSubnet of VPN tunnel default 10.0.0.1
Client
VariableFunction
FORCE_DNS_TUNNELSki raw connection mode default false
MAX_INTERVALBetween requests to server
LAZY_MODELower response time when enabled
DNS_SERVERWhat DNS server to send the requests to default 8.8.8.8
HOSTNAME_SIZEMax hostname size
DNS_TYPEWhat DNS request type to use default autodetected

Tag summary

Content type

Image

Digest

sha256:81cf290d3

Size

6.8 MB

Last updated

almost 3 years ago

docker pull archef2000/iodine