Die Ausgabe von: sudo iptables -L: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Mein /etc/iptables.sh: #!/bin/sh IPT="/sbin/iptables" ## echo -n "Lade iptables Regeln..." ## ###Flush old rules: ## $IPT --flush $IPT --delete-chain ## ###Insert ICMP: ## $IPT -A INPUT -P ICMP -j DROP ## ###Insert OpenSSH: ## $IPT -A INPUT -P TCP --dport 22 -j ACCEPT ## ###Insert Webmin: ## $IPT -A INPUT -P TCP --dport 1000 --sport 10000:20000 -j ACCEPT ## ###Insert Apache2: ## $IPT -A INPUT -P TCP --dport 80 -j ACCEPT $IPT -A INPUT -P TCP --dport 443 -j ACCEPT ## ###Insert ProFTPD: ## $IPT -A INPUT -P TCP --dport 21 --sport 49152:69155 -j ACCEPT ## echo -n "iptables Regeln sind geladen." ## Meine /etc/rc.local: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /etc/iptables.sh #Iptables exit 0 Ich hab auch schon versucht das iptable.sh Script in die /etc/network/interfaces einzutragen, doch dort wurde der eintrag nach einem Reboot iwie wieder gelöscht???