diff options
author | lassulus <lass@lassul.us> | 2017-02-14 13:20:14 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-02-14 13:20:14 +0100 |
commit | 4e8d61d8f74e547c6718d55b13ae1d5eb2287bfd (patch) | |
tree | 0e640472d2a54d707c7e232eee4df690de9d4b20 /lass/2configs/hfos.nix | |
parent | e7f12c4d865c5556b408a8301de6e2eabb39165b (diff) |
l 2 hfos: forward https from localhost
Diffstat (limited to 'lass/2configs/hfos.nix')
-rw-r--r-- | lass/2configs/hfos.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lass/2configs/hfos.nix b/lass/2configs/hfos.nix index 7d4d544aa..a4020dade 100644 --- a/lass/2configs/hfos.nix +++ b/lass/2configs/hfos.nix @@ -32,4 +32,8 @@ with import <stockholm/lib>; { v6 = false; precedence = 1000; predicate = "-d 192.168.122.208 -p tcp --dport 1080 -m state --state NEW,ESTABLISHED,RELATED"; target = "ACCEPT"; } { v6 = false; precedence = 1000; predicate = "-d 192.168.122.208 -p tcp --dport 1443 -m state --state NEW,ESTABLISHED,RELATED"; target = "ACCEPT"; } ]; + + krebs.iptables.tables.nat.OUTPUT.rules = [ + { v6 = false; precedence = 1000; predicate = "-d 213.239.205.246 -p tcp --dport 443"; target = "DNAT --to-destination 192.168.122.208:1443"; } + ]; } |