Hello guys, I hope you are all doing fine, and I hope that I'm at the right place for this question.
So, my question(elaborated) as stated above is that:
How to access a home server sitting behind my router(ASUS RT-AC51U), using DDNS(ZoneEdit-Inbuilt DDNS service of my router) while I'm connected to a VPN server via OpenVPN client of the router itself?
WHEN NOT CONNECTED TO VPN SERVER VIA OPENVPN CLIENT OF THE SERVER:
I have a home server running with a local IP of 192.168.1.100, I have enabled port forwarding for this IP in my Asus router. So, when I access my DDNS Host Name i.e http://example.com, I get the website hosted at my local server(192.168.1.100) whose public IP is the IP address of my WAN which has PPPoE as connection type.
WHEN CONNECTED TO VPN SERVER VIA OPENVPN CLIENT OF THE SERVER:
I have a home server running with a local IP of 192.168.1.100, I have enabled port forwarding for this IP in my Asus router. So, when I access my DDNS Host Name i.e http://example.com,I do not get the website hosted at my local server(192.168.1.100) instead I just get ERR_CONNECTION_REFUSED, if I'm outside the network of my router. But if I'm accessing DDNS Host Name or my WAN IP within the network of my router, then I get the website running fine.
So basically I want to know that what should I do in order to pass the Home server IP(192.168.1.100) through the WAN instead of VPN?
PLEASE ASK FOR MORE INFO IF NEEDED.
Thanks & Regards,
DigiGoon