connect to another network router
Let say I've a sonicwall NSA240 connected to my ISP modem. I've a public IP address configured in X1 port (WAN). X2 port is configured in LAN mode, giving adresses to the computer network (192.168.1.x).
Completely separated from the sonicwall, I've another type of modem for VoIP. This modem is connected in a PBX equipment (10.10.10.2) that is configured to give IP address to phones (DHCP), network is 10.10.10.x.
I want to be able to connect to the PBX from the internet from the WAN IP address. I've tried to configure the X3 port in LAN mode, with IP 10.10.10.3 and to configure NAT and Routes, but I can't figure out to make it work. I don't know if it possible to make it this way.
The first two octets of WAN is 24.230.x.x. This is the public IP from the ISP. PBX is acting like a router with DHCP server. PBX LAN 10.10.10.2. PBX WAN IP 192.168.20.240. Default Gateway 192.168.20.1