Added example scripts and updated documentation.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-12 19:19:02 +01:00
parent 35ce549e9e
commit 0e31edee4a
7 changed files with 24 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# 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'"