Rework into using nftables, along with proper Xray DNS configuration

This commit is contained in:
2025-04-13 13:41:16 +05:00
parent a5c8961d78
commit f9645b0ef6
17 changed files with 249 additions and 195 deletions

9
etc/xray/custom_rules.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Source the function definitions
. /etc/xray/fwd_functions.sh
# Add your custom rules here
# See the fwd_functions.sh for the available functions
# Example: Exclude traefik HTTP+HTTPS
# direct_port_range_for_ip "192.168.1.165" 80 443