# from https://github.com/WonderBeat/docker-archive/blob/master/firehol.conf
# FireHOL config file with docker tunnel
#
# eth0 (World) <-> FireHOL <->
# <-> Docker
# tun0 (Internal VPN) <->
#
version 5
server_ssh_ports="tcp/222"
client_ssh_ports="default"
server_openvpn_ports="udp/1195"
client_openvpn_ports="default"
interface eth0 world
policy drop
server "dns dhcp http https ssh icmp openvpn" accept
server custom nginx-extra "tcp/442 tcp/81" default accept
client all accept
interface tun0 openvpn
server all accept
client all accept
interface docker0 docker
client all accept
server all accept
router docker2VPN inface docker0 outface tun0
masquerade
route all accept
router docker2internet inface docker0 outface eth0
masquerade
route all accept
iptables -t nat -N DOCKER
Last active
February 23, 2018 11:34
-
-
Save StudioEtrange/787ffbef6245abecc922b8798b500e43 to your computer and use it in GitHub Desktop.
FireHol with docker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment