diff options
author | jaseg <code@jaseg.net> | 2019-04-04 20:08:46 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-04-04 20:08:46 +0900 |
commit | 143419bb5aafd7a671b3c532d7fad9c050e45741 (patch) | |
tree | a51ca556ea6bd9baf8e3ccbaba76b2946409ade8 /gerboweb/deploy/iptables.rules | |
parent | a54abadf01e9e543b416ed09e8500ed71170342c (diff) | |
download | gerbolyze-143419bb5aafd7a671b3c532d7fad9c050e45741.tar.gz gerbolyze-143419bb5aafd7a671b3c532d7fad9c050e45741.tar.bz2 gerbolyze-143419bb5aafd7a671b3c532d7fad9c050e45741.zip |
Fix up clippy networking
Diffstat (limited to 'gerboweb/deploy/iptables.rules')
-rw-r--r-- | gerboweb/deploy/iptables.rules | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gerboweb/deploy/iptables.rules b/gerboweb/deploy/iptables.rules new file mode 100644 index 0000000..0f6f366 --- /dev/null +++ b/gerboweb/deploy/iptables.rules @@ -0,0 +1,24 @@ +# Generated by iptables-save v1.8.0 on Thu Apr 4 11:06:33 2019 +*nat +:PREROUTING ACCEPT [13:648] +:INPUT ACCEPT [8:440] +:OUTPUT ACCEPT [18:1260] +:POSTROUTING ACCEPT [18:1260] +-A PREROUTING -i eth0 -p tcp -m tcp --dport 23 -j REDIRECT --to-ports 2342 +COMMIT +# Completed on Thu Apr 4 11:06:33 2019 +# Generated by iptables-save v1.8.0 on Thu Apr 4 11:06:33 2019 +*filter +:INPUT ACCEPT [0:0] +:FORWARD ACCEPT [0:0] +:OUTPUT ACCEPT [360:761646] +-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT +-A INPUT -p icmp -j ACCEPT +-A INPUT -i lo -j ACCEPT +-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT +-A INPUT -p tcp -m state --state NEW -m tcp --dport 2342 -j ACCEPT +-A INPUT -p tcp -m state --state NEW -m tcp --dport 23 -j ACCEPT +-A INPUT -j REJECT --reject-with icmp-host-prohibited +-A FORWARD -j REJECT --reject-with icmp-host-prohibited +COMMIT +# Completed on Thu Apr 4 11:06:33 2019 |