Files
gluetun/doc/firewall.md
2020-05-02 13:13:19 +00:00

1.8 KiB

Firewall

If you have a strict firewall setup (host level or router level), you might want to setup the following.

VPN connections

You need the following to allow communicating with the VPN servers

Private Internet Access

  • If PIA_ENCRYPTION=strong and PROTOCOL=udp: allow outbound UDP 1197 to the corresponding VPN server IPs
  • If PIA_ENCRYPTION=normal and PROTOCOL=udp: allow outbound UDP 1198 to the corresponding VPN server IPs
  • If PIA_ENCRYPTION=strong and PROTOCOL=tcp: allow outbound TCP 501 to the corresponding VPN server IPs
  • If PIA_ENCRYPTION=normal and PROTOCOL=tcp: allow outbound TCP 502 to the corresponding VPN server IPs

Mullvad

Windscribe

  • If PROTOCOL=udp: allow outbound UDP 443 to the corresponding VPN server IPs
  • If PROTOCOL=tcp: allow outbound TCP 1194 to the corresponding VPN server IPs

Inbound connections

  • If SHADOWSOCKS=on, allow inbound TCP 8388 and UDP 8388 from your LAN
  • If TINYPROXY=on, allow inbound TCP 8888 from your LAN
  • If you want access to the built-in HTTP control server, allow inbound TCP 8000 from your LAN