diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2025-10-16 08:35:01 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2025-10-16 08:35:01 +0200 |
| commit | b0f1f2ae3fb0d42f5c19d41a58b4c3515cb5ebdd (patch) | |
| tree | f290a2972da48c65fc9089178d21d9a56e39ee1a | |
| parent | b5a8efe247a2a724c519ef56411da3ed953bc437 (diff) | |
networking: change forwarded ssh port
| -rw-r--r-- | config/networking.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/networking.nix b/config/networking.nix index a39d85a..7022dde 100644 --- a/config/networking.nix +++ b/config/networking.nix @@ -23,7 +23,7 @@ "93.95.224.29" ]; - # reroute SSH on port 2222 to hephaistos + # reroute SSH on port 42137 to hephaistos nat.enable = true; nftables = { enable = true; @@ -31,7 +31,7 @@ table ip nat { chain pre { type nat hook prerouting priority dstnat; policy accept; - iifname "ens3" tcp dport 2222 dnat to 100.64.0.3:22 + iifname "ens3" tcp dport 42137 dnat to 100.64.0.3:22 } chain post { type nat hook postrouting priority srcnat; policy accept; |
