aboutsummaryrefslogtreecommitdiff
path: root/netsec-assignment4-S4498062/exercise1/exercise1a.fw
diff options
context:
space:
mode:
Diffstat (limited to 'netsec-assignment4-S4498062/exercise1/exercise1a.fw')
-rw-r--r--netsec-assignment4-S4498062/exercise1/exercise1a.fw32
1 files changed, 32 insertions, 0 deletions
diff --git a/netsec-assignment4-S4498062/exercise1/exercise1a.fw b/netsec-assignment4-S4498062/exercise1/exercise1a.fw
new file mode 100644
index 0000000..160292e
--- /dev/null
+++ b/netsec-assignment4-S4498062/exercise1/exercise1a.fw
@@ -0,0 +1,32 @@
+# Generated by iptables-save v1.4.21 on Fri Oct 2 10:15:06 2015
+*mangle
+:PREROUTING ACCEPT [2673:1292106]
+:INPUT ACCEPT [2673:1292106]
+:FORWARD ACCEPT [0:0]
+:OUTPUT ACCEPT [2296:347914]
+:POSTROUTING ACCEPT [2346:354348]
+COMMIT
+# Completed on Fri Oct 2 10:15:06 2015
+# Generated by iptables-save v1.4.21 on Fri Oct 2 10:15:06 2015
+*filter
+:INPUT DROP [0:0]
+:FORWARD ACCEPT [0:0]
+:OUTPUT ACCEPT [9:516]
+-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
+-A INPUT -m state --state ESTABLISHED -j ACCEPT
+-A INPUT -p icmp -j ACCEPT
+-A INPUT -p icmp -m icmp --icmp-type 5 -j DROP
+-A FORWARD -p icmp -j ACCEPT
+-A FORWARD -p icmp -m icmp --icmp-type 5 -j DROP
+-A OUTPUT -p icmp -j ACCEPT
+-A OUTPUT -p icmp -m icmp --icmp-type 5 -j DROP
+COMMIT
+# Completed on Fri Oct 2 10:15:06 2015
+# Generated by iptables-save v1.4.21 on Fri Oct 2 10:15:06 2015
+*nat
+:PREROUTING ACCEPT [0:0]
+:INPUT ACCEPT [0:0]
+:OUTPUT ACCEPT [304:21518]
+:POSTROUTING ACCEPT [304:21518]
+COMMIT
+# Completed on Fri Oct 2 10:15:06 2015