I have the following setup -
Verizon Fios Router - WAN - Public IP Address Verizon Fios Router - LAN - 192.168.1.1
This connects directly to an internal Linux Router -
Internal Router Linux - eth0 - 192.168.1.2 Internal Router Linux - eth1 - 10.10.10.1
The problem I am having is if a request originates from the 10.10.10.x network or the 192.168.1.2 network to the public IP address the request gets lost somewhere in networking land.
The linux router is on the internet directly via the DMZ feature of the Fios router.
I think I'm just missing a basic route command but I'm not sure where to go next.
The reason any of this matters is I am trying to run the VNC-Java client on the linux router to connect to the vncserver that is running directly on the same machine. When the java client goes to connect it tries to connect to the external IP address which the linux router really has no idea about because it believes it's 192.168.1.2.
I suppose there is another solution... And that's tell the tightvnc java client to connect to the host 192.168.1.2 but I can't find where exactly to set that either.
Regular VNC client works fine but I would like to avoid having to have the client software.
Thoughts / Suggestions? Am I just out of luck due to the one to one nat?