service/wireguard-server: bypass firewalls
This commit is contained in:
parent
3268921a92
commit
e3887d0573
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ in
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [ 51194 ];
|
allowedUDPPorts = [ 43 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nat.internalIPs = [
|
nat.internalIPs = [
|
||||||
|
@ -23,7 +23,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces.wgstorm = {
|
interfaces.wgstorm = {
|
||||||
ips = [ "10.100.0.1/24" ];
|
ips = [ "10.100.0.1/24" ];
|
||||||
listenPort = 51194;
|
listenPort = 43;
|
||||||
privateKeyFile = config.age.secrets.wireguard-key-storm.path;
|
privateKeyFile = config.age.secrets.wireguard-key-storm.path;
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue