From 504737b3783e38804aef587e7646c89c71e1d8ee Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 9 Nov 2013 09:57:17 +0100 Subject: [PATCH] remove usage of wondershaper --- doc/scripts/ocserv-script | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/scripts/ocserv-script b/doc/scripts/ocserv-script index 7544e3db..1c88f1e6 100755 --- a/doc/scripts/ocserv-script +++ b/doc/scripts/ocserv-script @@ -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