28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

See Also<br />

RFC 2865, Remote Authentication Dial In User Service (RADIUS)<br />

2.13 Setting Up TACACS+ User Authentication<br />

Problem<br />

You want to use a TACACS+ server to authenticate people who log in to the router.<br />

Solution<br />

Configure information about your TACACS+ server:<br />

[edit system]<br />

aviva@router1# set tacacs-server 192.168.62.10 secret $1991poppI<br />

aviva@router1# show<br />

tacacs-server {<br />

192.168.62.10 secret "$9$90m6AO1EcyKWLhcYgaZji"; ## SECRET-DATA<br />

}<br />

<strong>Discussion</strong><br />

TACACS+ is a newer version of the older TACACS authentication software. Like<br />

RADIUS, TACACS+ uses a client/server model, with the router being the client. All<br />

transactions between the server and the client are authenticated by a shared secret.<br />

The JUNOS configuration for TACACS+ is almost identical to that for RADIUS.<br />

You set the IP address of your TACACS+ server and the password (secret) that the<br />

router should use to access the server. The secrets on the router and the server must<br />

match. For redundancy, you can configure multiple servers.<br />

There are also JUNOS-specific TACACS+ attributes that you can configure on the<br />

TACACS+ server. These attributes are named local-user-name, allow-commands,<br />

deny-commands, allow-configuration, and deny-configuration and have the same<br />

description, length, and string as the parallel RADIUS attributes (see Table 2-2).<br />

2.14 Restricting Inbound SSH and Telnet Access<br />

Problem<br />

You want to allow SSH and Telnet access to the router but you want to restrict the<br />

access to make the router more secure.<br />

Solution<br />

Add a term to an existing firewall filter that restricts SSH and Telnet access:<br />

[edit firewall filter protect-RE]<br />

98 | Chapter 2: Basic Router Security and Access Control<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!