Author
Message
apacheguy DD-WRT User Joined: 26 Jun 2008 Posts: 88
Posted: Fri Apr 08, 2022 3:37 Post subject: Wireguard does not execute "Route up script"
Build: 48567
I found that DD-WRT does not execute the Wireguard "Route up script." I created a very simple custom script that creates a file under /tmp. The file is not created after a client connects.
See attached images of config.
Back to top
Sponsor
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12908 Location: Netherlands
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Sat Apr 09, 2022 9:37 Post subject:
Can there be an issue with the file as a hidden file?
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12908 Location: Netherlands
Posted: Sat Apr 09, 2022 9:50 Post subject:
Good call, but no I did test that too.
I think the OP expects it to run at the moment a client connects to a WG server but the script runs after the interface is started and up and the routes have been set. _________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read): https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Back to top
the-joker DD-WRT Developer/Maintainer Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Back to top