We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf5a4f commit ae4d1f0Copy full SHA for ae4d1f0
linux/netfilter/netfilter.go
@@ -178,7 +178,10 @@ func (ctx* nftCtx) nftIfup(ifname string) {
178
})
179
180
element := []nftables.SetElement{
181
+ { Key: net.ParseIP("10.124.0.0").To4() },
182
+ { Key: net.ParseIP("10.125.0.0").To4(), IntervalEnd: true },
183
{ Key: net.ParseIP("10.64.0.1").To4() },
184
+ { Key: net.ParseIP("10.64.0.2").To4(), IntervalEnd: true },
185
}
186
mozvpn_ctx.conn.SetAddElements(mozvpn_ctx.relayset, element)
187
@@ -457,6 +460,7 @@ func NetfilterCreateTables() int32 {
457
460
Table: mozvpn_ctx.table_inet,
458
461
Name: "mozvpn-socks5-relays",
459
462
KeyType: nftables.TypeIPAddr,
463
+ Interval: true,
464
465
mozvpn_ctx.conn.AddSet(mozvpn_ctx.relayset, nil)
466
0 commit comments