DDWRT opevpn and access restrictions not working

Hi all,
I'm a bit stumped trying to get access restrictions and openVpn to work on DDWRT at the same time. They work separately but not together.
This works OK.
But my access restrictions no longer work. I fI disable OPENVPN access restrictions work again.
I have tried adding this script to the startup commands (admin->commands->save startup):-
#!/bin/sh 
SCRIPT="/tmp/lan2wan.sh" 
cat << "EOF" > $SCRIPT 
#!/bin/sh 
while true; do 
    if [ "$(iptables -vnL FORWARD | awk '/lan2wan/ {print FNR}')" != "3" ]; then 
        iptables -D FORWARD -j lan2wan 
        iptables -I FORWARD -j lan2wan 
    fi 
    sleep 300 
done 
EOF 
chmod +x $SCRIPT 
$SCRIPT &

If put before the password (openvpn) script entry is kills openvpn (and restrictions work) or after and openvpn works but restrictions do not. 
I have tried another method that failed as well. 
I have some access restrictions based on time,day, and MAC address (for the kids).
Is there a way to get this wot work as I'm out of ideas to try.
Can you not use openvpn and try PPTP? Will that allow access restrictions to work?
Ideally I would like to stay with openvpn as that is the preferred method I believe.
Can anyone please help with a solution or suggestions to this problem?

Thanks



Sign In or Register to comment.