What's new
  • 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!

Toggle VPN Director rules for WireGuard via SSH

The "proper way" way is to use the WebUI as there isn't a CLI for VPN Director.

To do the same via SSH you'd have to replicate what the WebUI is doing. That changes the contents of /jffs/openvpn/vpndirector_rulelist followed by a service restart_vpnrouting0.
 
Last edited:
Thank you, it works.

I'm a bit confused now. I'm aware of this file but didn't look into its contents because it's in the openvpn directory, and I need the rules for wireguard. But it's actually used for wireguard as well.

Anyway, I got the answer, thanks.
 
Last edited:

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top