09-23-2011 12:33 AM
Hello,
I am setting up a VPN connection between our main site and a remote location. (currently using our backup ADSL line before sending over)
I have setup debug SSH on the console
The tunnel works fine, and i can open an SSH session from the inside network, but when i try to initiate the SSH connection from outside through the VPN , i don't see anything on the console.
To eliminate potential problem with ACL, i have set up outside access_in extended permit any any
Still the connection does not work and i get the following message "closed by remote host"
Any idea would be appreciated
Rgds
Laurent
09-23-2011 02:47 AM
Can you connect via SSH at all or you don't get connected just from outside?
09-23-2011 03:48 AM
Hello,
From the inside network it works.
I also have the same kind of issue with the ASDM
Rgds
Laurent
09-23-2011 04:11 AM
Next question. Did you allow it from outside?
Basically you should have one such line in config
ssh 0.0.0.0 0.0.0.0 outside
or
ssh A.B.C.D 255.255.255.255 outside
where A.B.C.D is the exact IP address you are trying to connect from.
ASDM access works in similar way, but instead of ssh we use http.
Hope this helps
Zoran
09-23-2011 04:12 AM
Btw, outside is just the name of the interface. It could be different in your setup. You shoud put the name you have used to name your outside interface. I hope now it is clear enough.
Z
09-23-2011 05:49 AM
Hm. Have you tried to specify allowed ssh access from inside?
ssh 10.74.97.0 255.255.255.0 inside
Z
09-23-2011 05:19 AM
That’s what I have configured…
ssh 10.74.97.0 255.255.255.0 outside
http 10.74.97.72 255.25.255.255 outside
(the IP I am trying to connect from is 10.74.97.72)
Could I be something with the line itself ??? latency ??
If have tried the following command as well without success :
Management-access inside
And
Management-access outside
As I understand, the fact that I try to access through the VPN means that I am coming from the inside….. right ??
Thanks for your help
09-23-2011 06:44 AM
But have you tried
ssh 10.74.97.0 255.255.255.0 inside
http 10.74.97.72 255.25.255.255 inside
and
Management-access inside
Z
09-23-2011 07:01 AM
Yes, I have tried all combinations
ssh 10.74.97.0 255.255.255.0 inside
ssh 10.74.97.0 255.255.255.0 outside
http 10.74.97.0 255.255.255.0 inside
http 10.74.97.0 255.255.255.0 outside
As I have set it up on a home ADSL line with poor quality and no QOS, I guess it can cause further problems.
I have to send the device to the remote office today, so I will continue to investigate next week.
Thanks a lot for your help
Have a good day
Laurent
09-23-2011 07:06 AM
I would not blame ADSL anyway, but I am relly getting empty of ideas Hopefully some Cisco guru will see this and help you.
Have a nice weekend!
Z
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide