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 2e1589e commit a058460Copy full SHA for a058460
linux/netfilter/netfilter.go
@@ -403,7 +403,10 @@ func (ctx *nftCtx) nftRestrictTraffic(ifname string) {
403
})
404
405
element := []nftables.SetElement{
406
+ { Key: net.ParseIP("10.124.0.0").To4() },
407
+ { Key: net.ParseIP("10.124.240.0").To4(), IntervalEnd: true },
408
{ Key: net.ParseIP("10.64.0.1").To4() },
409
+ { Key: net.ParseIP("10.64.0.2").To4(), IntervalEnd: true },
410
}
411
mozvpn_ctx.conn.SetAddElements(mozvpn_ctx.relayset, element)
412
@@ -700,6 +703,7 @@ func NetfilterCreateTables() int32 {
700
703
Table: mozvpn_ctx.table_inet,
701
704
Name: "mozvpn-socks5-relays",
702
705
KeyType: nftables.TypeIPAddr,
706
+ Interval: true,
707
708
mozvpn_ctx.conn.AddSet(mozvpn_ctx.relayset, nil)
709
0 commit comments