Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Check the wg_manager configuration grep -i initdelay /jffs/addons/wireguard//WireguardVPN.conf # During Boot 'init' request process, specify a delay period e.g. INITDELAY 90s INITDELAY 20s If it doesn't exist try executing e = Exit Script [?] E:Option ==> createconfig Then if the default...
  2. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Whoops..:oops: The Cabin AllowedIPs (which includes an IPv6 IP - significant perhaps?) data value stored in the database is indeed incorrect (when compressed) Peers (Auto start: Auto=P - Policy, Auto=S - Site-to-Site) Server Auto Subnet Port Annotate wg21 Y...
  3. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    I've uploaded wg_manager Beta v4.19b3 https://github.com/MartineauUK/wireguard/commit/fc2d19c5d14a3b843018fcec213dc311ff4503fa Clearly re-import of the Home.conf will be required to include the BeachHut definition, and optionally you can have the BeachHut.conf include the Cabin LAN in its...
  4. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Without clarification of the overall mesh topology (i.e. what data traffic flows primarily outbound from each node), there could be political/logistical reasons for the need to configure the meshed nodes in such a manner? TLDR; If we assume the other nodes are sites (rather than individual...
  5. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    What happens if you don't have OpenVPN client 2 auto start?....perhaps there is a conflict with the WireGuard RPDB rules etc. So prior to issuing the wgm restart command, perhaps you could try dumping the diagnostics. e = Exit Script [?] E:Option ==> diag and again, after you have...
  6. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    If a Site-to-Site configuration say 'Home' to 'Cabin' was successfully created, then the following command should create 'SiteC' and bind it to 'Home' site2site add Home SiteC lan=172.16.3.3 but sadly there are a couple of typos, so it doesn't actually fully work, so it is probably quicker to...
  7. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    ....and risk the wrath/ire of some zealot? :D Perhaps posting Syslog detailing the sequence of events would be better .....might show if there is a timing issue on the RT-AX68U or unexpected multiple concurrent events?
  8. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Can you issue: e = Exit Script [?] E:Option ==> debug e = Exit Script [?] E:Debug mode enabledOption ==> ? and post the output Remember to turn debugging OFF e = Exit Script [?] E:Debug mode enabledOption ==> debug
  9. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Well the 'missing' files now seem to be intact......presumably there were no errors reported when executing uf dev If you decide not to use wg_manager, i.e. you opt to use wg-quick instead, then you would have to decide how/when you would issue wg-quick up xxxx for each of your WireGuard...
  10. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Many thanks for the following WebUI bug report. I've uploaded WebUI Beta v1.04 To upgrade use e = Exit Script [?] E:Option ==> uf dev As for the missing '/jffs/addons/wireguard' files ...not 100% sure why they would be missing.:confused: After upgrading the WebUI, can you post the...
  11. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Only wg_manager 'server' Peers can have auto=s (means always listen for unsolicited inbound site-connection requests @ BOOT etc.) i.e. remote 'device'/'site' Peers etc. cannot be auto-started from the local Home site, but on remote Cabin you can set the appropriate 'server' Peer wg2x auto=s to...
  12. Martineau

    How to properly configure Chk-WAN script with cron?

    Add the wan directive to the cron scheduled command (see First example shown by the help) e.g. if [ "\$2" == "connected" ];then sh /jffs/scripts/ChkWAN.sh wan ping=1.1.1.1,8.8.8.8 cron="\*/10 \* \* \* \*" & fi ChkWAN.sh help...
  13. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    Strange, if the WebUI wasn't there to be be unmounted, not sure why the WebUI apparently appears to be already mounted? :confused: Can you issue these two commands df ls -lah /tmp/var/wwwext | grep -TE "user[1-9]+.*";grep -TH . /tmp/var/wwwext/*.title;grep -THE "user[1-9]\." /tmp/menuTree.js...
  14. Martineau

    Wireguard policy rules

    Issue the following e = Exit Script [?] E:Option ==> diag Then paste the results that into the code formatting dialogue box (makes the diagnostic output easier to read) that appears when you click the icon shown in red to the left of the green pointer P.S. Ideally you should tag your post...
  15. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    The WebUI is still experimental, however the basics should work... Can you try the following command e = Exit Script [?] E:Option ==> www refreshX WebUI page 'user?.asp' ('wg_manager.asp') unmounted WebUI page ('wg_manager.asp') mounted as 'user?.asp' [?] Restarted service_httpd...
  16. Martineau

    logging URLs to separate server?

    Indeed either is possible. I wrote a script https://www.snbforums.com/threads/web-history-reporting-and-management-traffic-analyzer-aiprotection-monitor.49888/ which reports on the current contents of the History SQL database, so clearly if the database has been trimmed of old records between...
  17. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    In a classic client-server configuration, then unless you have the luxury of having a true static WAN IP for the server (or by chance a dynamic WAN IP assigned that simply never changes), then using a DDNS reference on the client is usually (for convenience) promoted as mandatory? If either of...
  18. Martineau

    logging URLs to separate server?

    You could create a cron schedule that issues the basic record extraction sqlite3 /jffs/.sys/WebHistory/WebHistory.db "select datetime(timestamp, 'unixepoch', 'localtime') AS time, mac, url FROM History;" or enhance the information...
  19. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    So if you manually issue the following, does wg_manager correctly report the error? e = Exit Script [?] E:Option ==> www mount ***ERROR: WebUI TAB ('wg_manager.asp') already mounted! Hopefully, the same internal function call Mount_WebUI() is used both during the wg_manager...
  20. Martineau

    Wireguard Session Manager - Discussion (3rd) thread

    OK, thanks for the feedback. Hopefully only one WireGuard® Manager Addons TAB should now (and in future) ever be present.
Top