View previous topic :: View next topic |
Author |
Message |
IronEye n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Aug 2004 Posts: 23
|
Posted: Wed Aug 31, 2005 4:01 am Post subject: cannont ssh into linux box from internet |
|
|
I have a Windows XP professional machine which connects to the internet. The connection is shared via Windows ICS. I configured the firewall to forward tcp traffic on port 22 to my gentoo machine. Using Putty, I can access the machine by its intranet address, 192.168.0.104. However, if I try to ssh into it using my internet IP. I get "Network Error: Connection refused." I'm using basically all of the default settings. I manually generated some keys, but that didn't change any functionality. I could never connect using an internet IP. Are there settings that need to be changed?
Thanks,
Kris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d4rkwingduck Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/311720334489edd952a23e.jpg)
Joined: 11 Aug 2005 Posts: 220 Location: somwhere on this big blue earth
|
Posted: Wed Aug 31, 2005 4:19 am Post subject: |
|
|
dunno if this helps, but on my router i cannot access services inside my lan using my internet ip if im in the lan, hope u understand that so yeah anehow when i setup the services i usually go to sygate online scan @ http://scan.sygatetech.com/ and check if the ports and service name appear to be open on the public ip .. like i say dunno if that was anyway helpful ... ![Confused :?](images/smiles/icon_confused.gif) _________________ http://www.di.fm/trance |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnuageux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/161644882641fd6ea588345.png)
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Wed Aug 31, 2005 5:09 am Post subject: |
|
|
Yeah, sounds like something is up w/ the port forward on the dsl / cable modem or whatever. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IronEye n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Aug 2004 Posts: 23
|
Posted: Wed Aug 31, 2005 11:05 am Post subject: |
|
|
Sygate does find the SSH service. It even provides the version number.
Trying to find out what services you are running...
Secure Shell Open = SSH-2.0-OpenSSH_3.9p1
I'm using Windows dial up networking with ICS/ICF.
Internal port: 22
External port: 22
-Kris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d4rkwingduck Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/311720334489edd952a23e.jpg)
Joined: 11 Aug 2005 Posts: 220 Location: somwhere on this big blue earth
|
Posted: Wed Aug 31, 2005 11:14 am Post subject: |
|
|
try connecting to the service outside your network and c how it goes _________________ http://www.di.fm/trance |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IronEye n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Aug 2004 Posts: 23
|
Posted: Wed Aug 31, 2005 11:24 am Post subject: |
|
|
I've been specifying an IP manually and it doesnt work. I don't have a machine outside of the network that I can use. If someone could test it for me the IP is: 65.216.169.201
Thanks,
Kris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d4rkwingduck Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/311720334489edd952a23e.jpg)
Joined: 11 Aug 2005 Posts: 220 Location: somwhere on this big blue earth
|
Posted: Wed Aug 31, 2005 11:30 am Post subject: |
|
|
seems to be working i get the banner ![Wink ;)](images/smiles/icon_wink.gif) _________________ http://www.di.fm/trance |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IronEye n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Aug 2004 Posts: 23
|
Posted: Wed Aug 31, 2005 11:35 am Post subject: |
|
|
That's odd, I never configured a banner. It usually just says "login:" Is that what you're referring too? If it works it must be some strange way ICS works. Perhaps it can't route the packet from my machine back to the Gentoo machine.
Thanks for your assistance!
-Kris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d4rkwingduck Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/311720334489edd952a23e.jpg)
Joined: 11 Aug 2005 Posts: 220 Location: somwhere on this big blue earth
|
Posted: Wed Aug 31, 2005 11:37 am Post subject: |
|
|
it says SSH-2.0-OpenSSH_3.9p1
edit: i would say it works, ive used putty and i did get to the login prompt ![Wink ;)](images/smiles/icon_wink.gif) _________________ http://www.di.fm/trance |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IronEye n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Aug 2004 Posts: 23
|
Posted: Wed Aug 31, 2005 11:45 am Post subject: |
|
|
What SSH client are you using? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d4rkwingduck Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/311720334489edd952a23e.jpg)
Joined: 11 Aug 2005 Posts: 220 Location: somwhere on this big blue earth
|
Posted: Wed Aug 31, 2005 11:47 am Post subject: |
|
|
putty, prior to that i was using netcat cause i didnt have putty emerged ![Wink ;)](images/smiles/icon_wink.gif) _________________ http://www.di.fm/trance |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ph0eniX Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/103802685344eb685847e81.jpg)
Joined: 24 Sep 2004 Posts: 502 Location: New York, U.S.
|
Posted: Wed Aug 31, 2005 2:26 pm Post subject: |
|
|
IronEye wrote: | If someone could test it for me the IP is: 65.216.169.201
|
Works like a charm! (I'm using putty and Cygwin) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaveArb Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Wed Aug 31, 2005 2:28 pm Post subject: |
|
|
IronEye wrote: | If it works it must be some strange way ICS works. Perhaps it can't route the packet from my machine back to the Gentoo machine. |
Earlier, kel said: "but on my router i cannot access services inside my lan using my internet ip if im in the lan"
This is ordinary, most routers will not accept traffic from within the LAN, if it is addressed to the WAN port. This appears to be exactly the problem you're having.
Dave |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|