• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 454 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 Jul 31, 2022, 8:35 AM Jul 31, 2022, 8:34 AM

    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
    • R
      Rico LAYER 8 Rebel Alliance
      last edited by Jul 31, 2022, 8:38 PM

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

      -Rico

      O 1 Reply Last reply Jul 31, 2022, 8:41 PM Reply Quote 0
      • O
        ovidius @Rico
        last edited by Jul 31, 2022, 8:41 PM

        @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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received