Compare commits

...
1 Commits
Author SHA1 Message Date
oqyude f0947f3ce0 3x 2026-09-24 22:11:23 +03:00
+24 -12
View File
@@ -25,8 +25,12 @@ let
# 14380-15379/tcp+udp — Xray inbounds (matches firewall open range)
"0.0.0.0:2049:2049/tcp"
"0.0.0.0:2096:2096/tcp"
"0.0.0.0:14380-15379:14380-15379/tcp"
"0.0.0.0:14380-15379:14380-15379/udp"
"0.0.0.0:8443:8443/tcp"
"0.0.0.0:8443:8443/udp"
"0.0.0.0:18443:18443/tcp"
"0.0.0.0:18443:18443/udp"
# "0.0.0.0:14380-15379:14380-15379/tcp"
# "0.0.0.0:14380-15379:14380-15379/udp"
];
# VDS-only: nginx stream forwards host:443 → host:15380 → container:443,
# so Xray inside the container sees its REALITY inbound on its real
@@ -113,17 +117,25 @@ in
# Enable container name DNS for all Podman networks.
networking.firewall = {
allowedUDPPortRanges = [
{
from = 14380;
to = 15380;
}
# allowedUDPPortRanges = [
# {
# from = 8443;
# to = 15380;
# }
# ];
# allowedTCPPortRanges = [
# {
# from = 14380;
# to = 15380;
# }
# ];
allowedUDPPorts = [
18443
8443
];
allowedTCPPortRanges = [
{
from = 14380;
to = 15380;
}
allowedTCPPorts = [
18443
8443
];
interfaces =
let