diff --git a/hosts/bifrost/network/firewall.nix b/hosts/bifrost/network/firewall.nix index 8ecca5b..9d5bab6 100644 --- a/hosts/bifrost/network/firewall.nix +++ b/hosts/bifrost/network/firewall.nix @@ -7,7 +7,7 @@ _: { table ip nat { chain PREROUTING { type nat hook prerouting priority dstnat; - iifname ens3 tcp dport 22 dnat to 10.10.10.13:2222 + iifname ens3 tcp dport 69 dnat to 10.10.10.13:6969 } chain POSTROUTING { type nat hook postrouting priority srcnat; diff --git a/hosts/wynne/services/apps/forgejo.nix b/hosts/wynne/services/apps/forgejo.nix index ad96c69..37015e6 100644 --- a/hosts/wynne/services/apps/forgejo.nix +++ b/hosts/wynne/services/apps/forgejo.nix @@ -52,8 +52,8 @@ in DISABLE_SSH = false; START_SSH_SERVER = true; BUILTIN_SSH_SERVER_USER = "git"; - SSH_PORT = 22; - SSH_LISTEN_PORT = 2222; + SSH_PORT = 69; + SSH_LISTEN_PORT = 6969; SSH_LISTEN_HOST = "10.10.10.13"; HTTP_ADDR = "10.10.10.13"; HTTP_PORT = 3000;