iptables - proftpd langsam

Post Reply
Message
Author
Arus

iptables - proftpd langsam

#1 Post by Arus »

Hallo,

habe auf meinem Linux Server proftpd laufen. Funktioniert ohne iptables auch
einwandfrei. Wenn ich aber die iptables aktiviere wird die Verbindung extrem
langsam (Passworteingabe: ca. 1 min; Übertragung von 7kb ca. 4 min!!)

Woran kann das liegen? Hier mein iptables Script:



#! /bin/sh

iptables -F # alle Einträge in iptables werden gelöscht

iptables -F firewall # alle Einträge in firewall werden gelöscht
iptables -X firewall # chain firewall wird gelöscht
iptables -N firewall # chain firewall wird angelegt


# Erlaubte Ports:
iptables -A firewall -p tcp --dport 22 -j ACCEPT # sshd
iptables -A firewall -p tcp --dport 21 -j ACCEPT # ftp
iptables -A firewall -p tcp --dport 20 -j ACCEPT # ftp Datenport


# Standart-chains umleiten
iptables -A INPUT -j firewall
iptables -A FORWARD -j firewall

# Standart-chains werden auf DROP/ACCEPT geschalten:
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT


Bin für jede Hilfe dankbar,
Arus

Post Reply