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

    AirVPN + Open Port, I've tried everything and it's not worth it

    Scheduled Pinned Locked Moved OpenVPN
    18 Posts 4 Posters 1.1k 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.
    • N
      neba
      last edited by

      I've read absolutely everything, tried it and it's not worth it, it won't work, I really need help. I know the topic has been explained 100 times, but it's not worth it.

      My configuration: pfSense + Unraid with qBittorrent container

      Everything works for me, AirVPN connects to the server, Unraid server gets the VPN IP address, but when I check if the port is open I got an error.

      Here are a couple of screen shots, if you need more it's no problem to send them

      Firewall / Rules / WAN
      55053259-2285-4160-9b61-caf80f746f97-image.png
      TorrentHost - IP address of Unraid server
      TorrentInboundPort - port I got from the AirVPN site

      1d2e6f27-27d2-4b8b-b844-cc664aaab828-image.png

      56bcbf58-1c69-42fb-90e6-c92af2b2811f-image.png

      79ac30ee-a2c3-4d84-9ec0-c06dbfa4a9e9-image.png

      2fe50493-e7c8-49f2-a0f5-86529076fb34-image.png

      f571e1e9-e223-4bc2-88fb-c983fabb29bf-image.png

      86d2aaac-4f0a-4bf6-a926-20c6101299df-image.png

      M 1 Reply Last reply Reply Quote 0
      • M
        MoonKnight @neba
        last edited by

        @neba
        Have to tried to setup with WireGuard instead?
        No problem here with that here.

        --- 24.11 ---
        Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
        Kingston DDR4 2666MHz 16GB ECC
        2 x HyperX Fury SSD 120GB (ZFS-mirror)
        2 x Intel i210 (ports)
        4 x Intel i350 (ports)

        N 1 Reply Last reply Reply Quote 0
        • N
          neba @MoonKnight
          last edited by

          @MoonKnight said in AirVPN + Open Port, I've tried everything and it's not worth it:

          Have to tried to setup with WireGuard instead?
          No problem here with that here.

          I haven't tried it with WireGuard

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @neba
            last edited by

            @neba
            I don't expect, that Wireguard makes the difference here.

            If I got your issue correctly AirVPN forward a certain port to your VPN IP. And the IP, which you do the port checking is the public AirVPN IP. Right?

            N 1 Reply Last reply Reply Quote 0
            • N
              neba @viragomann
              last edited by

              @viragomann
              I need to open the port for qBittorrent, which is on the Unraid server. When I set everything up as in the pictures, I expect that when I go to check that port on the AirVPN site or on canyouseeme.org, it will show that the port is open.

              M V 2 Replies Last reply Reply Quote 0
              • M
                MoonKnight @neba
                last edited by

                @neba
                You have set the same port on your qbit also?

                --- 24.11 ---
                Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                Kingston DDR4 2666MHz 16GB ECC
                2 x HyperX Fury SSD 120GB (ZFS-mirror)
                2 x Intel i210 (ports)
                4 x Intel i350 (ports)

                N 1 Reply Last reply Reply Quote 0
                • N
                  neba @MoonKnight
                  last edited by

                  @MoonKnight
                  I set up
                  76006143-47f6-484a-9dc6-eda2d3ed0f06-image.png

                  1 Reply Last reply Reply Quote 1
                  • V
                    viragomann @neba
                    last edited by

                    @neba said in AirVPN + Open Port, I've tried everything and it's not worth it:

                    I expect that when I go to check that port on the AirVPN site or on canyouseeme.org, it will show that the port is open.

                    I'm not sure on this. The forwarded port might be the tracker and the software is expecting UDP packets?
                    The port checker, however, only sends TCP packets, which your host probably to not respond to.

                    You can sniff the traffic on the involved interfaces, however, while probing the port on your pfSense to see if there is something coming in.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      neba @viragomann
                      last edited by

                      @viragomann said in AirVPN + Open Port, I've tried everything and it's not worth it:

                      You can sniff the traffic on the involved interfaces, however, while probing the port on your pfSense to see if there is something coming in.

                      I don't know how?

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @neba
                        last edited by

                        @neba
                        Diagnostic > Packet Capture

                        Select Air_SRB for the interface.
                        At port number enter 47057.
                        Hit "Start" and go to the port checker website and test again.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          neba @viragomann
                          last edited by

                          @viragomann

                          This is what it looks like when qBittorrent is started.
                          When I turn off qBit, and check openport, nothing happens

                          eff3b21f-ef77-418d-9089-48cb76227725-image.png

                          M V 2 Replies Last reply Reply Quote 0
                          • M
                            MoonKnight @neba
                            last edited by

                            @neba

                            This one?
                            97e3a082-b09a-4e35-b3dd-21aaf6b66828-image.png

                            Make sure you have set the right protocol in your OpenVPN client.

                            4c30c16b-f529-4214-9818-d925009642b2-image.png

                            --- 24.11 ---
                            Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                            Kingston DDR4 2666MHz 16GB ECC
                            2 x HyperX Fury SSD 120GB (ZFS-mirror)
                            2 x Intel i210 (ports)
                            4 x Intel i350 (ports)

                            N 1 Reply Last reply Reply Quote 0
                            • V
                              viragomann @neba
                              last edited by

                              @neba
                              So obviously the port is properly forwarded to you. Now, what's your issue? Only that the port check fails?

                              As mentioned, I expect it to fail, since it only sends TCP packets. But I also expect, that you see this TCP packet in the capture.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                neba @MoonKnight
                                last edited by

                                @MoonKnight

                                It's like this for me, should I change to TCP on Ipv4
                                90b17e3a-6494-4b1c-b075-f0daf4af9001-image.png

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MoonKnight @neba
                                  last edited by

                                  @neba
                                  I use UDP, but you have to make sure when you did the "config generator" you selected the UDP?
                                  I haven't used OpenVPN for couple of years now, so I can't tell if there is other settings you need to change. :(

                                  --- 24.11 ---
                                  Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                                  Kingston DDR4 2666MHz 16GB ECC
                                  2 x HyperX Fury SSD 120GB (ZFS-mirror)
                                  2 x Intel i210 (ports)
                                  4 x Intel i350 (ports)

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    neba @viragomann
                                    last edited by

                                    @viragomann

                                    TCP
                                    1f211071-dcb6-482c-ba2e-bf3f0e1852c4-image.png

                                    UDP
                                    fd68c6ef-3e2d-4d8a-af16-7de0349a5035-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      neba
                                      last edited by

                                      I solved the problem.
                                      I didn't know that the whole chain has to be activated from the VPN server to the qBittorrent end user.
                                      I always thought that it was enough to open the port on pfSense and that it would give me confirmation that the port is open. qBit must also be started.
                                      At the moment I have a problem with Unraid, but I'll solve it easily, it's important for me that I set everything up nicely on pfSense.

                                      THANK YOU EVERYONE

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

                                        @neba said in AirVPN + Open Port, I've tried everything and it's not worth it:

                                        pfSense and that it would give me confirmation that the port is open. qBit must also be started.

                                        Pfsense doesn't listen and answer - it just forwards traffic it sees. If you want the port to show open, then yes where you forward to would have to be listening on that port, and actually answer. Users also run into sim sort of problem where they think its pfsense port forwarding problem, when its just the client having its own firewall and not answering. All kinds of other problems as well - like were you sending the traffic through pfsense, isn't using pfsense as its gateway so sends the answer to some other gateway.

                                        Pfsense port forwarding is pretty rock solid stable and easy enough to setup.. In all the years I have been here on the forums - to be honest I don't recall even one issue that was not user issue.

                                        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.8, 24.11

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