Skip to content

Instantly share code, notes, and snippets.

@vinzent
Created June 20, 2016 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinzent/be75bb2ccfec276e490e86bab27a57ec to your computer and use it in GitHub Desktop.
Save vinzent/be75bb2ccfec276e490e86bab27a57ec to your computer and use it in GitHub Desktop.
openvpn allow all ports
policy_module(openvpn_allow_all_ports, 0.1.0)
gen_require(`
attribute port_type;
type openvpn_t;
')
allow openvpn_t port_type:tcp_socket { name_bind };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment