cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
904
Views
0
Helpful
3
Replies

enabling ssh to certain computer

jamesi123
Level 1
Level 1

I have few computers behind PIX 501. Few of them has no access to internet (access-list inside line 1 deny ip host 192.168.1.10 etc) and others have full access. Now I want to give some of those denied computers an SSH access to outside. I have tried

access-list inside line 6 permit tcp host 192.168.1.10 eq ssh any eq ssh

, but SSH-client says Connection Refused. Do I need some other access-rules or is the problem somewhere else?

1 Accepted Solution

Accepted Solutions

You need to have the permit line before the deny line.

access-list inside permit tcp host 192.168.1.10 any eq ssh

access-list inside deny ip host 192.168.1.10 any

Please rate helpful posts.

View solution in original post

3 Replies 3

dominic.caron
Level 5
Level 5

Hi

Source port may not be 22, depends on the client coding. Change your ACL line to:

access-list inside line 6 permit tcp host 192.168.1.10 any eq ssh

That change didn't seem to work. It seems that outbound connection works, but inbound doesnt. access-list inside line 1 deny ip host 192.168.1.10 gets hits when i try to SSH out from the computer.

You need to have the permit line before the deny line.

access-list inside permit tcp host 192.168.1.10 any eq ssh

access-list inside deny ip host 192.168.1.10 any

Please rate helpful posts.

Review Cisco Networking for a $25 gift card