removed redundant lines from autorun script
This commit is contained in:
parent
0a3d45ac2c
commit
8d6f240f05
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Allow incoming and outgoing ssh, dns and dhcp
|
# Allow incoming and outgoing ssh, dns and dhcp
|
||||||
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
|
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
|
||||||
iptables -I OUTPUT -p tcp --dport 22 -j ACCEPT
|
|
||||||
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
|
|
||||||
iptables -I INPUT -p udp --dport 53 -j ACCEPT
|
iptables -I INPUT -p udp --dport 53 -j ACCEPT
|
||||||
iptables -I INPUT -p tcp --dport 53 -j ACCEPT
|
iptables -I INPUT -p tcp --dport 53 -j ACCEPT
|
||||||
iptables -I INPUT -p udp --dport 68 -j ACCEPT
|
iptables -I INPUT -p udp --dport 68 -j ACCEPT
|
||||||
|
|
Loading…
Reference in New Issue