-
-
Save insi2304/827959fe5cf20bd7673954021e94c26e to your computer and use it in GitHub Desktop.
Nebula configuraton files for docker swarm manager and worker nodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !! Remember to replace LIGHTHOUSE_IP with your actual Nebula lighthouse external IP Address | |
# See the example config file to know what all of these options do https://github.com/slackhq/nebula/blob/master/examples/config.yml | |
pki: | |
ca: /etc/nebula/ca.crt | |
cert: /etc/nebula/host.crt | |
key: /etc/nebula/host.key | |
static_host_map: | |
"192.168.100.1": ["<LIGHTHOUSE_IP>:4242"] | |
lighthouse: | |
am_lighthouse: false | |
interval: 60 | |
hosts: | |
- "192.168.100.1" | |
listen: | |
host: 0.0.0.0 | |
port: 4242 | |
punchy: | |
punch: true | |
tun: | |
disabled: false | |
dev: nebula1 | |
drop_local_broadcast: false | |
drop_multicast: false | |
tx_queue: 500 | |
mtu: 1300 | |
routes: | |
unsafe_routes: | |
logging: | |
level: info | |
format: text | |
firewall: | |
conntrack: | |
tcp_timeout: 12m | |
udp_timeout: 3m | |
default_timeout: 10m | |
max_connections: 100000 | |
outbound: | |
- port: any | |
proto: any | |
host: any | |
inbound: | |
- port: any | |
proto: icmp | |
host: any | |
- port: 2377 | |
proto: any | |
host: any | |
- port: 7946 | |
proto: any | |
host: any | |
- port: 4789 | |
proto: any | |
host: any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !! Remember to replace LIGHTHOUSE_IP with your actual Nebula lighthouse external IP Address | |
# See the example config file to know what all of these options do https://github.com/slackhq/nebula/blob/master/examples/config.yml | |
pki: | |
ca: /etc/nebula/ca.crt | |
cert: /etc/nebula/host.crt | |
key: /etc/nebula/host.key | |
static_host_map: | |
"192.168.100.1": ["<LIGHTHOUSE_IP>:4242"] | |
lighthouse: | |
am_lighthouse: false | |
interval: 60 | |
hosts: | |
- "192.168.100.1" | |
listen: | |
host: 0.0.0.0 | |
port: 4242 | |
punchy: | |
punch: true | |
tun: | |
disabled: false | |
dev: nebula1 | |
drop_local_broadcast: false | |
drop_multicast: false | |
tx_queue: 500 | |
mtu: 1300 | |
routes: | |
unsafe_routes: | |
logging: | |
level: info | |
format: text | |
firewall: | |
conntrack: | |
tcp_timeout: 12m | |
udp_timeout: 3m | |
default_timeout: 10m | |
max_connections: 100000 | |
outbound: | |
- port: any | |
proto: any | |
host: any | |
inbound: | |
- port: any | |
proto: icmp | |
host: any | |
- port: 80 | |
proto: any | |
host: any | |
- port: 443 | |
proto: any | |
host: any | |
- port: 7946 | |
proto: any | |
host: any | |
- port: 4789 | |
proto: any | |
host: any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment