mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-06-12 14:28:14 +03:00
Merge pull request #366 from itdoginfo/discord
fix: include UDP port range 19000-20000 in Discord nft rule
This commit is contained in:
@@ -1316,7 +1316,7 @@ import_community_service_subnet_list_handler() {
|
|||||||
URL=$SUBNETS_DISCORD
|
URL=$SUBNETS_DISCORD
|
||||||
nft_create_ipv4_set "$NFT_TABLE_NAME" "$NFT_DISCORD_SET_NAME"
|
nft_create_ipv4_set "$NFT_TABLE_NAME" "$NFT_DISCORD_SET_NAME"
|
||||||
nft add rule inet "$NFT_TABLE_NAME" mangle iifname "@$NFT_INTERFACE_SET_NAME" ip daddr \
|
nft add rule inet "$NFT_TABLE_NAME" mangle iifname "@$NFT_INTERFACE_SET_NAME" ip daddr \
|
||||||
"@$NFT_DISCORD_SET_NAME" udp dport '{ 50000-65535 }' meta mark set "$NFT_FAKEIP_MARK" counter
|
"@$NFT_DISCORD_SET_NAME" udp dport '{ 19000-20000, 50000-65535 }' meta mark set "$NFT_FAKEIP_MARK" counter
|
||||||
;;
|
;;
|
||||||
"roblox")
|
"roblox")
|
||||||
URL=$SUBNETS_ROBLOX
|
URL=$SUBNETS_ROBLOX
|
||||||
|
|||||||
Reference in New Issue
Block a user