A simple GUI for editing cjdroute.conf
Some screenshots, so you know what you're getting into
Installing:
-
Drop into an http-accessable directory
-
Copy config.inc.example.php to cjdns.inc.php and edit it to point to your cjdroute.conf file
-
ensure that your webserver's user has read write access to cjdroute.conf - this is proly a bad idea. Also make sure it's PHP readable JSON (so no comments). Try this to parse them out:
cat cjdroute.conf | perl -p0e 's!/\*.*?\*/!!sg' | grep -v "//"
-
Restrict access to the directory. One way to do this is to make a
.htaccess
file that looks like this:
Order Deny,Allow
Deny from all
Allow from <your IP here>