How can I access my computer through DDNS when my IP is hidden by a VPN service?
I want the DDNS to resolve to the "anonymous" IP provided by the VPN server and not the actual (dynamic) IP of my modem router.
How would this be typically configured/implemented in technical terms?
Following are the details of my setup.
Modem router connected to the internet.
GL-AR300M smart router connected through the WAN port to the modem router. It runs an OpenVPN client connected to the tigerVPN service in order to hide my actual location and (dynamic) IP. It also runs a DDNS client which updates a service with the dynamic IP info. The DDNS name is (say) my-computer.no-ip.com. The firmware is OpenWrt.
My computer is connected to the LAN port of the GL-AR300M. I have configured the GL-AR300M to forward incoming traffic on port 2000 from WAN interface to my computer. I can also configure the modem router to forward incoming traffic on port 2000 to the WAN interface of the GL-AR300M.
I want to be able to access my computer from the internet by hitting my-computer.no-ip.com:2000. The my-computer.no-ip.com should be associated with the "anonymous" IP assigned by the VPN server and not the public IP of my modem router. I presume this would require some configuration on the side of the VPN server. OpenVPN is the current tunneling implementation but IPSec is also an option. The VPN server would have to be configured in a way so that it forwards incoming traffic for my "anonymous" IP on specific port to the other end of the tunnel, which is my smart router GL-AR300M. Is that correct? What's the typical setup in this case? Also, is there any documentation I could find for this use case?