Jump to content
Not connected, Your IP: 216.73.216.161
Sign in to follow this  
Pilly

Help with Ports

Recommended Posts

Any port that is choose when connected to VPN via Wireguard says cant connect Connection timed out (110)

Any way of making this work?

Share this post


Link to post

Hi again 👋

 

After some more testing I think I’ve figured out what’s going on, but I’d like confirmation from the AirVPN team.

 

Here’s my setup:

 

  • UniFi Gateway (UCG) running a WireGuard VPN client

  • Endpoint: gb3.vpn.airdns.org (AirVPN)

  • Traffic Policy: all traffic from my NixOS server is routed through the AirVPN tunnel

  • Application: qBittorrent on that NixOS VM

  • Port Forwarding: I generated a port in my AirVPN client area (for example 38649) and set qBittorrent to listen on the same port with UPnP/NAT-PMP disabled

 

 

The VPN works fine — my IP shows as AirVPN’s (e.g. 37.120.x.x), and speeds are good —

but no matter which port I assign, qBittorrent and every external port-checking site still report the port as closed.

 

From what I can tell, UniFi’s built-in WireGuard client connects using only the raw keypair and doesn’t provide AirVPN with any device certificate or account identifier, so the AirVPN server can’t associate my active connection with the port forwards in my account.

That would explain why inbound packets never reach my NixOS VM even though the tunnel itself works for outbound traffic.

 

Can anyone confirm whether AirVPN’s remote port forwarding currently works with third-party WireGuard clients on routers (like UniFi)?

And if not, is there any way to manually link my UniFi WireGuard public key to a “device” in my AirVPN account so the forwarded ports (e.g. 38649) can be tied to that tunnel?

Share this post


Link to post
1 hour ago, Pilly said:

UniFi’s built-in WireGuard client connects using only the raw keypair and doesn’t provide AirVPN with any device certificate or account identifier


Hello!

The keys are key here. :D AirVPN infrastructure knows who you are from your key and knows your VPN IP address according to that key (as WireGuard doesn't support DHCP). Your account remotely forwarded ports are linked to "All devices" or to "Default" device, which is the only key you have, so the problem must lie elsewhere. If your NixOS VM is attached to the host via NAT, please make sure that the incoming packets are properly forwarded by the host to the final VM running qBittorrent.

Kind regards

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...