summaryrefslogtreecommitdiff
path: root/config/networking.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/networking.nix')
-rw-r--r--config/networking.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/config/networking.nix b/config/networking.nix
index 7022dde..8322f8c 100644
--- a/config/networking.nix
+++ b/config/networking.nix
@@ -22,25 +22,6 @@
"93.95.224.28"
"93.95.224.29"
];
-
- # reroute SSH on port 42137 to hephaistos
- nat.enable = true;
- nftables = {
- enable = true;
- ruleset = ''
- table ip nat {
- chain pre {
- type nat hook prerouting priority dstnat; policy accept;
- iifname "ens3" tcp dport 42137 dnat to 100.64.0.3:22
- }
- chain post {
- type nat hook postrouting priority srcnat; policy accept;
- iifname "ens3" ip daddr 100.64.0.3 tcp dport 22 masquerade
- }
- }
- '';
- };
-
};
services.resolved = {