My Tomcat webserver is not accessed outside LAN
I have a host running Tomcat webserver inside LAN. The application running on it can be accessed within the LAN as well as using a public IP on the host from outside. But when I try it without the real IP, it gives a message that it takes  too long to respond and thus connections is timed out.

On the LAN Firewall server, I wrote the following line -

iptables -t nat -A PREROUTING -p tcp -d server_public_ip --dport 9090 -j DNAT \
--to-destinaion 10.100.3.5:9090



My Tomcat webserver is not accessed outside LAN
===

I have a host running Tomcat webserver inside LAN. The application running on it can be accessed within the LAN as well as using a public IP on the host from outside. But when I try it without the real IP, it gives a message that it takes  too long to respond and thus connections is timed out.

On the LAN Firewall server, I wrote the following line -

iptables -t nat -A PREROUTING -p tcp -d server_public_ip --dport 9090 -j DNAT \
--to-destinaion 10.100.3.5:9090


