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

[SOLVED] PIA OpenVPN Port Forward [SOLVED]

Scheduled Pinned Locked Moved OpenVPN
solved
12 Posts 2 Posters 10.4k 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.
  • A
    Apsis-IM @mcury
    last edited by Apsis-IM Feb 1, 2021, 1:32 AM Jan 31, 2021, 9:47 PM

    Howdy, @mcury

    yes, I'm aware of the latest scripts. The threads I referenced are long; the first includes updates across several years, and it leads to the second which references the pfsense git script you linked.

    I'm really just looking for a willing participant with a working solution so that I may pick their brain... Besides which server(s) that actually works for them, I wouldn't even know what to ask. All of the configurations that I've implemented were from particularly thorough instructions and I'm feeling kind of suck.

    v/r,

    JG

    edit:

    Actually, the second thread I was following appears to an earlier version of the git solution. I'll run it down. Thanks.

    A 1 Reply Last reply Feb 1, 2021, 1:46 AM Reply Quote 1
    • A
      Apsis-IM @Apsis-IM
      last edited by Feb 1, 2021, 1:46 AM

      @mcury said in PIA OpenVPN Port Forward:

      3rd party repositories (pfsense):
      [https://github.com/fm407/PIA-NextGen-PortForwarding](link url)

      Ran it down...

      /usr/local/etc/rc.d/piaportforwarding: WARNING: cannot read shebang line from /home/custom/piaportforward/pia-pfSense.sh

      But, since this solution is more recent and has a little more functionality I'm going to try and fix this shebang issue...

      M 1 Reply Last reply Feb 1, 2021, 2:01 AM Reply Quote 0
      • M
        mcury @Apsis-IM
        last edited by Feb 1, 2021, 2:01 AM

        @apsis-im According to that tutorial, your pfSense needs the following packages: xmlstarlet and jq

        Maybe you didn't install these packages?

        Note: I didn't test, and I don't recommend installing packages in Pfsense, they may break the firewall, be careful!

        According to the link you provided earlier, it should be:
        pkg install xmlstarlet
        pkg install jq

        dead on arrival, nowhere to be found.

        A 2 Replies Last reply Feb 1, 2021, 3:59 AM Reply Quote 1
        • A
          Apsis-IM @mcury
          last edited by Feb 1, 2021, 3:59 AM

          @mcury, have them both. they're for editing the pfsense config file and the transmission json.

          1 Reply Last reply Reply Quote 0
          • A
            Apsis-IM @mcury
            last edited by Feb 1, 2021, 4:08 AM

            @mcury

            so, I'm able to run it from the shell; And it works!

            but the service that calls the script cannot. I think it's a permissions thing or something.

            M 1 Reply Last reply Feb 1, 2021, 4:13 AM Reply Quote 0
            • M
              mcury @Apsis-IM
              last edited by mcury Feb 1, 2021, 4:14 AM Feb 1, 2021, 4:13 AM

              @apsis-im hmm, getting closer..

              instead of create the file and paste the code, you could download it.. maybe it will fix the permissions..

              e3326a21-33c1-48db-ad8e-c9ae8558ed74-image.png

              dead on arrival, nowhere to be found.

              A 1 Reply Last reply Feb 1, 2021, 5:06 AM Reply Quote 1
              • A
                Apsis-IM @mcury
                last edited by Feb 1, 2021, 5:06 AM

                @mcury you're going to laugh at me....

                service calls the script with pia-pfSense.sh

                my script was named pia-pfsense.sh

                I made that file at least 4 times. Hey, thanks for hanging with me and helping me sort this ;)

                do you download from those URLs with fetch/curl/wget?

                M 1 Reply Last reply Feb 1, 2021, 5:09 AM Reply Quote 0
                • M
                  mcury @Apsis-IM
                  last edited by Feb 1, 2021, 5:09 AM

                  @apsis-im haha, that happens to all of us.. :)

                  I would use fetch

                  dead on arrival, nowhere to be found.

                  A 1 Reply Last reply Feb 1, 2021, 5:14 AM Reply Quote 1
                  • A
                    Apsis-IM @mcury
                    last edited by Feb 1, 2021, 5:14 AM

                    @mcury Ah, gotcha! Just making sure. The pfsense crowds seems to prefer fetch for sure. The first round of this I was saving the scripts on my file server and attempting to fetch them from one of the windows shares, lol. Results were... well, it didn't work out.

                    Thanks again, @mcury!

                    M 1 Reply Last reply Feb 1, 2021, 5:15 AM Reply Quote 1
                    • M
                      mcury @Apsis-IM
                      last edited by Feb 1, 2021, 5:15 AM

                      @apsis-im You are welcome, enjoy :)

                      dead on arrival, nowhere to be found.

                      1 Reply Last reply Reply Quote 1
                      12 out of 12
                      • First post
                        12/12
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received