Init lazy-autobuild
This commit is contained in:
commit
eca12bc30e
19 changed files with 739 additions and 0 deletions
24
docker_port_forward
Executable file
24
docker_port_forward
Executable file
|
@ -0,0 +1,24 @@
|
|||
#! /bin/sh
|
||||
|
||||
|
||||
# TCP port 2377 for cluster management communications
|
||||
# TCP and UDP port 7946 for communication among nodes
|
||||
# UDP port 4789 for overlay network traffic
|
||||
#
|
||||
# See https://docs.docker.com/network/overlay/
|
||||
|
||||
sudo iptables -I INPUT 1 -p tcp --dport 2377 -j ACCEPT
|
||||
sudo iptables -I OUTPUT 1 -p tcp --dport 2377 -j ACCEPT
|
||||
|
||||
sudo iptables -I INPUT 1 -p tcp --dport 7946 -j ACCEPT
|
||||
sudo iptables -I OUTPUT 1 -p tcp --dport 7946 -j ACCEPT
|
||||
|
||||
sudo iptables -I INPUT 1 -p udp --dport 7946 -j ACCEPT
|
||||
sudo iptables -I OUTPUT 1 -p udp --dport 7946 -j ACCEPT
|
||||
|
||||
sudo iptables -I INPUT 1 -p udp --dport 4789 -j ACCEPT
|
||||
sudo iptables -I OUTPUT 1 -p udp --dport 4789 -j ACCEPT
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue