File tree 2 files changed +21
-2
lines changed
modules/services/networking
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,16 @@ rmdir /var/lib/ipfs/.ipfs
120
120
also serve as a SSH agent if <literal >enableSSHSupport</literal > is set.
121
121
</para >
122
122
</listitem >
123
+ <listitem >
124
+ <para >
125
+ The <literal >services.tinc.networks.< name> .listenAddress</literal >
126
+ option had a misleading name that did not correspond to its behavior. It
127
+ now correctly defines the ip to listen for incoming connections on. To
128
+ keep the previous behaviour, use
129
+ <literal >services.tinc.networks.< name> .bindToAddress</literal >
130
+ instead. Refer to the description of the options for more details.
131
+ </para >
132
+ </listitem >
123
133
</itemizedlist >
124
134
125
135
<para >Other notable improvements:</para >
Original file line number Diff line number Diff line change 79
79
default = null ;
80
80
type = types . nullOr types . str ;
81
81
description = ''
82
- The ip adress to bind to.
82
+ The ip address to listen on for incoming connections.
83
+ '' ;
84
+ } ;
85
+
86
+ bindToAddress = mkOption {
87
+ default = null ;
88
+ type = types . nullOr types . str ;
89
+ description = ''
90
+ The ip address to bind to (both listen on and send packets from).
83
91
'' ;
84
92
} ;
85
93
131
139
Name = ${ if data . name == null then "$HOST" else data . name }
132
140
DeviceType = ${ data . interfaceType }
133
141
${ optionalString ( data . ed25519PrivateKeyFile != null ) "Ed25519PrivateKeyFile = ${ data . ed25519PrivateKeyFile } " }
134
- ${ optionalString ( data . listenAddress != null ) "BindToAddress = ${ data . listenAddress } " }
142
+ ${ optionalString ( data . listenAddress != null ) "ListenAddress = ${ data . listenAddress } " }
143
+ ${ optionalString ( data . bindToAddress != null ) "BindToAddress = ${ data . bindToAddress } " }
135
144
Device = /dev/net/tun
136
145
Interface = tinc.${ network }
137
146
${ data . extraConfig }
You can’t perform that action at this time.
0 commit comments