Announcement

Collapse
No announcement yet.

permit SSH deny Telnet and the reverse from other side

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • permit SSH deny Telnet and the reverse from other side

    Hello,

    I wanted to know how to configure... (to each other )



    Permit SSH access and Deny Telnet access from one side to the other and on the other side Permit Telnet access and Deny SSH access to the first.

    Thanks.

  • #2
    Re: permit SSH deny Telnet and the reverse from other side

    You really shouldn't be using telnet at all, so why not just block telnet to both directions and allow SSH connections?

    -vP

    Comment


    • #3
      Re: permit SSH deny Telnet and the reverse from other side

      Just setup access lists for you interfaces,

      Create ACL
      Code:
       
      access-list 100 deny tcp any any eq 23
      access-list 100 permit ip any any
      Apply To Interface
      Code:
      interface ethernet0
      ip access-group 100 in
      Then setup one to block SSH for the other interface
      Would sugest further reading relating to ACL's as there is alot more to it
      http://www.cisco.com/en/US/products/...800a5b9a.shtml
      Last edited by djfiend; 5th March 2009, 20:14.

      Comment

      Working...
      X