Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Change OpenVPN site to site preShared key with script

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 460 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      ovidius
      last edited by ovidius

      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

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        Depending on your SSH Client you can tunnel the GUI through SSH.
        Working fine with puTTY for example. :-)

        -Rico

        O 1 Reply Last reply Reply Quote 0
        • O
          ovidius @Rico
          last edited by

          @rico thank you very much for your answer. But I am looking for the Commands or the script to do it.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.