

You can do this with netcat from the repository. The method you used for testing your ports is not an indication that they are blocked by your ISP.įirst, attach an application to listen on the port you want to test. Tcp LISTEN 0 128 :22 :* users:(("sshd",pid=852,fd=4))įrom the above it can be seen that OpenVPN is using UDP port 1194 (in this particular case). Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port You can find out what port OpenVPN is running on by running: $ sudo ss -plntu If you used the default OpenVPN server configuration, you'll have to forward UDP port 1994 to the IP address of your Ubuntu 18.04 server. What port(s) you forward to your Ubuntu 18.04 server to access OpenVPN will depend on how you set up OpenVPN. To port forward, you need to log in to your router (most likely supplied to you by your ISP) and then Google "how to set up port forwarding on ". If you haven't set up port forwarding, no ports are going to be open on your IP address, which doesn't necessarily mean your ISP is doing anything. Also thanks to those outside the forum who helped me out as well.I don't trust the method you used to determine your ISP "filters all ports so you're unable to do port forwarding".

Thank you everyone for helping and providing suggestions. I don't know why, but this solved my problems with the port.

Any thoughts?Īs mentioned in some posts here and there, apparently all I had to do was enable DMZ on the client user permissions by adding the following: /63394 I am also able to connect to the server with the 10.0.2.25 IP, however, I cannot connect with the public IP of the VPN Server.
OPENVPN ACCESS SERVER PORT PC
The amount of information is a bit overwhelming, and I cannot seem to wrap my head around it alone anymore.Ī visual representation of my setup is here:ĮDIT: I have come to the point where I am able to ping the Game Server PC from the outside (by pinging the public IP of the VPN Server) and from within the VPN server (by pinging 10.0.2.25). The current router and VPN Server routing can be viewed here. I am also not sure whether OpenVPN listens on port 63394, but even with DMZ on that port I am not able to connect to that port. I am not sure whether it's due to the OS or due to Azure. I have also added inbound and outbound rules in Azure for the VM. I have also added port-forwarding and traffic rules on my router for testing, but that had no effect either (tun0 interface port-forward to lan interface lan IP of PC, traffic rule vpn zone to lan zone - accept). I can access the OpenVPN AS admin web UI via 10.0.1.4, which makes me think that the setup is correct. I have also tried running the game server on both the public and lan IP, but that didn't make a difference. I have tried adding the Public IP of the VPN server in the User Permissions of the Access Server, to no avail: 51.x.x.x:tcp/63394 I have tried running this based on my situation, to no avail as well. As a result of that, I have tried a bunch of things and researched a bunch of questions before, namely this, this, this, this (and probably even more), as well as certain articles like this, this and that, others as well probably. There are already VERY similar posts about this here and there. I run an OpenVPN Access Server (made following a guide here) on Azure and would like users to connect to the VPN Public IP, which would forward them to my actual server public IP (a visual explanation at the end). I have been trying to properly port-forward my VPN server to no avail.
