Home : Forward xray port.

This commit is contained in:
Dmitry Voronin 2024-08-30 13:27:36 +03:00
parent f485aa0e1c
commit 9b43f6845b
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -65,8 +65,10 @@ in {
# FRKN internal proxy server. # FRKN internal proxy server.
+ (mkForward internal cfg.zapret.port cfg.zapret.address cfg.zapret.port tcp) + (mkForward internal cfg.zapret.port cfg.zapret.address cfg.zapret.port tcp)
+ (mkForward internal cfg.zapret.torport cfg.zapret.address cfg.zapret.torport tcp) + (mkForward internal cfg.zapret.torport cfg.zapret.address cfg.zapret.torport tcp)
+ (mkForward internal cfg.zapret.xrayport cfg.zapret.address cfg.zapret.xrayport tcp)
+ (mkForward internal cfg.zapret.port cfg.zapret.address cfg.zapret.port udp) + (mkForward internal cfg.zapret.port cfg.zapret.address cfg.zapret.port udp)
+ (mkForward internal cfg.zapret.torport cfg.zapret.address cfg.zapret.torport udp) + (mkForward internal cfg.zapret.torport cfg.zapret.address cfg.zapret.torport udp)
+ (mkForward internal cfg.zapret.xrayport cfg.zapret.address cfg.zapret.xrayport udp)
# Allow VPN connections from Wan. # Allow VPN connections from Wan.
+ (mkForward external cfg.vpn.port cfg.vpn.address cfg.vpn.port udp) + (mkForward external cfg.vpn.port cfg.vpn.address cfg.vpn.port udp)