change nebula port

This commit is contained in:
xunuwu 2025-09-09 09:45:15 +02:00
parent 06fd60d8dd
commit 057b5bb011
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,7 @@
cert = config.sops.secrets.nebula-cert.path; cert = config.sops.secrets.nebula-cert.path;
key = config.sops.secrets.nebula-key.path; key = config.sops.secrets.nebula-key.path;
ca = config.sops.secrets.nebula-ca-cert.path; ca = config.sops.secrets.nebula-ca-cert.path;
listen.port = 3131;
firewall = { firewall = {
inbound = [ inbound = [
{ {

View file

@ -2,11 +2,12 @@
services.nebula.networks.xunmesh = { services.nebula.networks.xunmesh = {
enable = true; enable = true;
staticHostMap = { staticHostMap = {
"30.0.0.1" = ["172.245.52.19:4242"]; "30.0.0.1" = ["172.245.52.19:3131"];
}; };
cert = config.sops.secrets.nebula-cert.path; cert = config.sops.secrets.nebula-cert.path;
key = config.sops.secrets.nebula-key.path; key = config.sops.secrets.nebula-key.path;
ca = config.sops.secrets.nebula-ca-cert.path; ca = config.sops.secrets.nebula-ca-cert.path;
listen.port = 3131;
firewall = { firewall = {
inbound = [ inbound = [
{ {