I am a long time slackware user, who just switched to ubuntu (Ubuntu 22.04.2 LTS). Once installed I renamed the first wired ethernet card to eth0 (simplicity for what I am use to). I can ssh from a windows computer (securecrt) to the lan IP address with no issue. I have a port forward in my internet providers modem/router to the ubuntu ip address. When I try to ssh to my external ip I get "Hostname lookup failed: host not found" I log in to the internal ip and then try to ssh to external ip and it works like a charm. In past set up /etc/hosts /etc/resolv.conf make sure ethernet card was up and working with static ip and routes were correct and it was a done deal. Any help on this matter would be greatly appreciated.
Bookmarks