File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ Role Variables
40
40
| ` local_range ` | String | Local range is used to define a hint about the local network range | NA | No |
41
41
| ` sshd.enabled ` | Boolean | sshd can expose informational and administrative functions via ssh | NA | No |
42
42
| ` sshd.listen ` | String | IP / Port for admin SSH functions | NA | No |
43
+ | ` relay.relays ` | List | IP of hosts to use as a relay | NA | No |
44
+ | ` relay.am_relay ` | String | Indicate whether host should act as a relay | ` false ` | No |
45
+ | ` relay.use_relays ` | String | Indicate whether host should attempt to connect through relays | ` true ` | No |
43
46
| ` metrics.prometheus ` | Boolean | Enables prometheus server | NA | No |
44
47
| ` outbound ` | List | Outbound rules for the built in firewall | ` See Below ` | Yes |
45
48
| ` inbound ` | List | Inbound rules for the built in firewall | ` See Below ` | Yes |
Original file line number Diff line number Diff line change 1
1
---
2
2
# defaults file for .
3
- nebula_version : 1.5.0
3
+ nebula_version : 1.6.1
4
4
5
5
# force overwrite
6
6
nebula_force_install : false
@@ -11,6 +11,10 @@ nebula_bin_directory: /bin
11
11
# this will cause net.ipv4.ip_forward to be set to 1 to allow unsafe routes
12
12
enable_ip_forward : false
13
13
14
+ relay :
15
+ am_relay : " false"
16
+ use_relays : " true"
17
+
14
18
tun :
15
19
dev_name : nebula1
16
20
drop_local_broadcast : false
Original file line number Diff line number Diff line change 71
71
#- "ssh public key string"
72
72
{% endif %}
73
73
74
+ {% if relay is defined %}
75
+ # EXPERIMENTAL: relay support for networks that can't establish direct connections.
76
+ relay:
77
+ # Relays are a list of Nebula IP's that peers can use to relay packets to me.
78
+ # IPs in this list must have am_relay set to true in their configs, otherwise
79
+ # they will reject relay requests.
80
+ {% if relay .relays is defined %}
81
+ relays:
82
+ {% for relay_host in relay .relays %}
83
+ - {{ relay_host }}
84
+ {% endfor %}
85
+ {% endif %}
86
+ # Set am_relay to true to permit other hosts to list my IP in their relays config. Default false.
87
+ am_relay: {{ relay.am_relay | default("false") }}
88
+ # Set use_relays to false to prevent this instance from attempting to establish connections through relays.
89
+ # default true
90
+ use_relays: {{ relay.use_relay | default("true") }}
91
+ {% endif %}
92
+
74
93
# Configure the private interface. Note: addr is baked into the nebula certificate
75
94
tun:
76
95
# Name of the device
You can’t perform that action at this time.
0 commit comments