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

    OpenVPN with preshared key

    OpenVPN
    3
    5
    1.3k
    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.
    • E
      erkidhoxholli
      last edited by

      Hello
      I am trying to setup a VPN connection using only preshared key UDP.The VPN is not going up.
      I am attaching below the config file.If you think logs can help I can provide it to you.

      config.png
      config.png_thumb

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        did you use the wizard?  Pretty hard to F it up using the wizard..  Then just modify it to use only the preshared key..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • E
          erkidhoxholli
          last edited by

          Thanks for replying.
          Actually I am the client not the server.Other VPNs work fine but I am having problems with this one.
          I tried with Peer 2 Peer SSL/TLS is working with another OpenVPN server but I have no luck with Preshared key.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Is the configuration file you posted the contents of the other VPN peer configuration? Or is that a configuration file you were sent for your side to use?

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • E
              erkidhoxholli
              last edited by

              I fixed this problem.I wasnt related to pfSense at all.I was wondering how can I set MTU 1492 only for OpenVPN.I know how to do it using advanced options but I was wondering I need to change it in the physical interface used for connection.Thank you.

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