Change OpenVPN site to site preShared key with script
-
Hello Everyone.
I have two pfsense machines on openvpn site to site connection and I want to change their preshared keys. My problem is that I cannot access the GUI from the remote one but I have ssh access. Is there a way to change the preshared key with a script or a command given remotely? Where can I find the commands to do so from shell?
Thanks for the help
-
Depending on your SSH Client you can tunnel the GUI through SSH.
Working fine with puTTY for example. :-)-Rico
-
@rico thank you very much for your answer. But I am looking for the Commands or the script to do it.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.