Skip to content

Instantly share code, notes, and snippets.

@mdriscoll93
Last active December 9, 2025 15:24
Show Gist options
  • Select an option

  • Save mdriscoll93/b41a1c9e738191a9b9425032916a5f49 to your computer and use it in GitHub Desktop.

Select an option

Save mdriscoll93/b41a1c9e738191a9b9425032916a5f49 to your computer and use it in GitHub Desktop.
openvpn server iptables rules

how to configure iptables on hosts running ovpn server

sub the following Destination Port DPORT for TCP Port [0-9] --> or the exact combination of protocol/port you've chosen to use. By default, OpenVPN will use UDP 1194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment