update firewall & ports
This commit is contained in:
parent
a456d25708
commit
42987faacd
|
@ -134,7 +134,7 @@ in
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 5000 22 53 80 8080 ];
|
allowedTCPPorts = [ 5000 22 53 80 8080 ];
|
||||||
allowedUDPPorts = [ 5000 22 53 80 8080 19800];
|
allowedUDPPorts = [ 5000 22 53 80 8080 18900 19900 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ in
|
||||||
ips = [ "10.10.11.1/24" ];
|
ips = [ "10.10.11.1/24" ];
|
||||||
|
|
||||||
#VPN Port.
|
#VPN Port.
|
||||||
listenPort = 19800;
|
listenPort = 18900;
|
||||||
|
|
||||||
# This allows the wireguard server to route your traffic to the internet and hence be like a VPN
|
# This allows the wireguard server to route your traffic to the internet and hence be like a VPN
|
||||||
# For this to work you have to set the dnsserver IP of your router (or dnsserver of choice) in your clients
|
# For this to work you have to set the dnsserver IP of your router (or dnsserver of choice) in your clients
|
||||||
|
@ -201,7 +201,7 @@ networking.wireguard.interfaces = {
|
||||||
ips = [ "10.10.100.1/24" ];
|
ips = [ "10.10.100.1/24" ];
|
||||||
|
|
||||||
#VPN Port.
|
#VPN Port.
|
||||||
listenPort = 19800;
|
listenPort = 19900;
|
||||||
|
|
||||||
# Path to the private key file.
|
# Path to the private key file.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue
Block a user