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 220e06f commit 8d8d07bCopy full SHA for 8d8d07b
linux/netfilter/netfilter.go
@@ -408,7 +408,10 @@ func (ctx *nftCtx) nftRestrictTraffic(ifname string) {
408
})
409
410
element := []nftables.SetElement{
411
+ { Key: net.ParseIP("10.124.0.0").To4() },
412
+ { Key: net.ParseIP("10.124.240.0").To4(), IntervalEnd: true },
413
{ Key: net.ParseIP("10.64.0.1").To4() },
414
+ { Key: net.ParseIP("10.64.0.2").To4(), IntervalEnd: true },
415
}
416
mozvpn_ctx.conn.SetAddElements(mozvpn_ctx.relayset, element)
417
@@ -693,6 +696,7 @@ func NetfilterCreateTables() int32 {
693
696
Table: mozvpn_ctx.table,
694
697
Name: "mozvpn-socks5-relays",
695
698
KeyType: nftables.TypeIPAddr,
699
+ Interval: true,
700
701
mozvpn_ctx.conn.AddSet(mozvpn_ctx.relayset, nil)
702
0 commit comments