Access to a Server via his WAN IP from remote site through a VPN Site to Site
The situation is I need to access a Server on Site A by using the WAN IP of the Site A from a Site B through the VPN Site to Site (between Site A and Site B).
From the WAN (Internet), I can access the Server on Site A without problem via its Public IP (NAT WAN to LAN) ; It also works from Site A LAN, still using its Public IP (NAT loopback) : https://22.214.171.124:4000 (NAT to local address https://126.96.36.199).
But accessing to Server on Site A from Site B via Server A's Public IP does not work through the VPN Site to Site.
Site A : SonicWall TZ 400
WAN : 188.8.131.52
LAN : 192.168.0.x
Server : 192.168.0.253 - https port from the LAN
From the WAN, Server accessible on port number 4000 (NAT from port 4000 to https)
Site B : SonicWall TZ 300
WAN : 184.108.40.206
I can access from the Site B through the VPN Site to Site to the Server on the Site A with the address https://192.168.0.253 but not form his WAN address access https://220.127.116.11:4000