Ok, I have now found a simple solution to this. I installed OpenVPN server on a VMWare virtual machine on my development box. So I now have tree machines.
- My development machine
- The server in need of debugging
- A new OpenVPN server (virtual)
I then opened up port 443 in my firewall towards the OpenVPN machine and next I installed the OpenVPN client on both the server in need of debugging and on my development machine and connected both to the OpenVPN server.
I had to configure OpenVPN so that I had 2 different users (one for each client) and I also had to enable cross-user communication on the VPN. I just had to add the IP submet of the VPN to the allowed private network list.
One last bit was to add an entry in the C:\Windows\System32\drivers\etc\hosts file pointing the server name to the vpn ip address (you have to connect to remote debugger with correct server name)