I am having some router networking issues...here is my configuration:
I have a DSL modem at 192.168.254.254. I configured port forwarding for ports 22 and 1521 to route to 192.168.254.1.
I have a router at 192.168.0.1. I have port forwarding configured to forwarding ports 22 and 1521 to 192.168.0.50.
I have a linux server at 192.168.0.50.
When I use PuTTY to SSH on port 22 to the linux server I get a prompt to login to the linux server but it does not allow me to login. I get an error message that access is denied.
So it looks like traffic is getting to the linux server but the linux server is not allowing me to login.
Note that I am able to login if I am on the local network and use SSH to connect to 192.168.0.50. I only have a problem if I try to connect to the linux server using the public IP address.
Do you know what I can change to allow access to the linux server?
Note that I am confused about how traffic gets from 192.168.254.1 to 192.168.0.1. The default gateway is 192.168.0.1. I am not able to set the port forwarding in the DSL modem to 192.168.0.1. If I try I get the error message "NAPT server IP address is not a valid host LAN address."
Can you point me to a log file on the linux server that explains why it's rejecting the login from the public IP address?
Can you tell me how to either configure the linux server or the network to allow logins from the public IP address? Note that this was working at one point. I believe a tech support person from the router company had me change my network IP address and after that I was not able to connect to the linux server through the public IP address.