Jump to content
Not connected, Your IP: 3.12.73.64
WetSocks

NC port command not working from within VPN

Recommended Posts

Posted ... (edited)

Hello,

I'm currently working on setting up a monitoring script to keep track of a particular service. I'm using the "nc" command within the gluetun docker container for this purpose. As part of this configuration, I've successfully established port forwarding, and the port is functioning as expected.

However, I'm encountering an issue that I'd like to clarify. When I attempt to check the status of the port from within the VPN, I consistently receive a timeout error. I'm using the following command:
 

nc -vz -w5 VPN-IP PORT

Strangely, running the same command outside the VPN environment shows that the port is indeed open.

I'm unsure whether this could be due to a firewall rule with AirVPN or some other factor. Is anyone else facing a similar problem? Or is this an isolated event with my setup? Any advice would be greatly appreciated. Thank you all. Edited ... by WetSocks

Share this post


Link to post
On 8/17/2023 at 10:54 PM, WetSocks said:

VPN-IP


Is this the interface or the public address?

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

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

×
×
  • Create New...