Workaround for shitty pulic wifi firewalls
This commit is contained in:
parent
2525c506fc
commit
b7798bf8ee
@ -123,7 +123,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 50101 50127 50128 51820 60001 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 993 995 50101 50127 50128 51820 60001 ];
|
||||
networking.firewall.extraCommands = ''
|
||||
iptables -t nat -I PREROUTING -p udp -m multiport --dports 53,993,995 -j REDIRECT --to-ports 51820
|
||||
'';
|
||||
|
||||
clerie.nginx-port-forward = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user