remove usage of wondershaper

This commit is contained in:
Nikos Mavrogiannopoulos
2013-11-09 09:57:17 +01:00
parent ac6c0dd5c7
commit 504737b378

View File

@@ -4,11 +4,6 @@ if [ "$REASON" = "connect" ];then
# Disable the firewall for the user's device
iptables -A INPUT -i $DEVICE -j ACCEPT
if [ "$GROUPNAME" != "admins" ];then
#rate limit the tun device to 64kbyte
wondershaper $DEVICE 524288 524288
fi
echo "User '$USERNAME' from '$IP_REAL' connected. Local IP is '$IP_REMOTE'"
else
iptables -D INPUT -i $DEVICE -j ACCEPT