DEV Community

Discussion on: Assigning Static IP for OpenVPN on Asus Routers

Collapse
 
lechonsin profile image
Lechonsin

Hi i follow your steps but, if i activate in the router the script
script-security 2
--client-connect /jffs/scripts/clientconnect.sh

i cant conecct in clients, always say user authentication failed, and if quit the srcript conect fine, what happen? can yuou helpme please?

Collapse
 
seri0us007 profile image
Andrii Lavrenko

Perhaps the error is that the router does not have bash. Try replacing #!/bin/bash with #!/bin/sh
On my RT-AC58U it did the trick.