boob00 Posted September 10, 2013 Share Posted September 10, 2013 Hello there, I have had one server running Ubuntu server 10.04 for almost a year now going fine. I could ssh both from inside the network and outside. I recently came into getting another server, installed Ubuntu server 12.04 onto it. Now when outside the network I can only externally ssh into my new server. Even if the new server is off and disconnected from the network, and the old one is up and running. When i run the command "ssh (old)@[external ip]" it just times out. But when i run "ssh (new)@[external ip]" i get in fine. I need to be able to get into both servers externally. If it matters my old server has a static local ip of 192.168.1.142 and my new 192.168.1.110 I have looked all over the Ubuntu forums for help but none of the solutions have worked. Help is needed!!!! Thanks - BOOB00 Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 11, 2013 Share Posted September 11, 2013 You need to setup two different external ports and have them route to the appropriate internal IP:Port combo. Now when outside the network I can only externally ssh into my new server. What? Quote Link to comment Share on other sites More sharing options...
newbi3 Posted September 11, 2013 Share Posted September 11, 2013 You need to change the port of one of the servers, you cannot have them booth running on port 22 and port-forward both of them. Quote Link to comment Share on other sites More sharing options...
boob00 Posted September 12, 2013 Author Share Posted September 12, 2013 (edited) You need to setup two different external ports and have them route to the appropriate internal IP:Port combo. What? Thank you for the help! I will try that tonight. And with that i was trying to say that with both servers running, I can only ssh into the new one from outside my network. You need to change the port of one of the servers, you cannot have them booth running on port 22 and port-forward both of them. Thanks newbi3! Although i still have one question, even with the new server off I still can not even ssh into my old one from outside the network. Edited September 12, 2013 by BOOB00 Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 13, 2013 Share Posted September 13, 2013 It's from the bad configuration. The router can only send to one at a time. Power cycle the router with the "new" server off and it should work again like before. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.