This article describes how to configure, verify, and troubleshoot management access to the SRX Series device.
For other topics, go to the SRX Getting Started main page.
Configure management access to the SRX Series device.
This section contains the following:
Some system services are enabled by default, and HTTP access is enabled for the ge-0/0/0.0 interface. Some allowed host-inbound services are also enabled by default for the ge-0/0/0.0 interface in the trust security zone.
trust
Some system services, such as SSH, Telnet, HTTP, and HTTPS, require that the service process be started on the device. Before enabling system services, verify which system services are enabled.
user@host> show config | match "set system services" | display set set system services sshset system services telnetset system services web-management http interface vlan.0set system services web-management https system-generated-certificateset system services web-management https interface vlan.0set system services dhcp router 192.168.1.1set system services dhcp pool 192.168.1.0/24 address-range low 192.168.1.2set system services dhcp pool 192.168.1.0/24 address-range high 192.168.1.254set system services dhcp propagate-settings ge-0/0/0.0
set system services
user@host# set system services
service
set system services ?
When enabling HTTP access, specify the interface on which you want to enable access. Use the following command to specify the interface on which you want HTTP enabled:
user@host# set system services web-management http interface
Note: Before enabling HTTPS access, make sure that the system date and time are set accurately. For information about setting system date and time, see KB15756 - SRX Getting Started - Configure Time and NTP Client [juniper.net] .
user@host# set system services web-management https system-generated-certificateuser@host# set system services web-management https interface interface
To access the SRX Series device, you must specify the kinds of traffic that can reach it by using the host-inbound-traffic command, which you can configure at the zone or interface level.If you configure host-inbound traffic for a zone, all interfaces in that zone are affected.If you configure host-inbound traffic at the interface level, this configuration overrides the host-inbound traffic configuration for a zone.You must enable all expected host-inbound traffic. Inbound traffic from devices directly connected to the SRX Series device's interfaces is dropped by default.
To verify this, use the following command:
user@host# show security zones | match "host-inbound-traffic" | display setset security zones security-zone trust host-inbound-traffic system-services allset security zones security-zone trust host-inbound-traffic protocols allset security zones security-zone untrust interfaces ge-0/0/0.0 host-inbound-traffic system-services dhcpset security zones security-zone untrust interfaces ge-0/0/0.0 host-inbound-traffic system-services tftp
user@host# show security zones security-zone trust | display setset security zones security-zone trust host-inbound-traffic system-services allset security zones security-zone trust host-inbound-traffic protocols allset security zones security-zone trust interfaces vlan.0
user@host# set security zones security-zone zone host-inbound-traffic system-services service
user@host# set security zones security-zone zone interfaces interface host-inbound-traffic system-services service
user@host# set security zones security-zone trust interfaces interface host-inbound-traffic system-services ping
user@host# set security zones security-zone untrust interfaces interface host-inbound-traffic system-services https
Security Zones and Interfaces Feature Guide for Security Devices
To verify that Web access to the device is enabled correctly, use a Web browser to connect to the device:
HTTP access-- http:// URL or http:// IP_address
http:// URL
http:// IP_address
HTTPS access-- https:// URL or https:// IP_address
https:// URL
https:// IP_address
If you activated an SSL certificate, use the the show security command in configuration mode to review certificate information.
show security
user@host# show security
user@host#
If you configured secure Web access, use the show system services command in configuration mode to review secure access configuration.
show system services
user@host# show system services
For sample output, see Example: Configuring Secure Web Access .
Use the flow traceoptions command to troubleshoot management access. For information about traceoptions, see KB16233 - How to use 'Flow Traceoptions' and the 'security datapath-debug' in SRX series [juniper.net] .
flow traceoptions
A common error message about management access to the SRX Series device is " packet dropped: for self but not interested ."The following example shows how to use flow traceoptions commands and review the output:
packet dropped: for self but not interested
Configure flow traceoptions .
user@host> show log filename_to_write_debug_logs
Feb 15 18:01:23 18:01:22.1207073:CID-0:RT:<10.85.49.24/1055->172.24.28.76/23;6> matched filter 6:Feb 15 18:01:23 18:01:22.1207073:CID-0:RT:packet [48] ipid = 1471, @423fc09eFeb 15 18:01:23 18:01:22.1207073:CID-0:RT:---- flow_process_pkt: (thd 1): flow_ctxt type 13, common flag 0x0, mbuf 0x423fbf00Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: flow process pak fast ifl 72 in_ifp ge-0/0/0.0Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: ge-0/0/0.0:10.85.49.24/1055->172.24.28.76/23, tcp, flag 2 synFeb 15 18:01:23 18:01:22.1207073:CID-0:RT: find flow: table 0x51e1b348, hash 15901(0xffff), sa 10.85.49.24, da 172.24.28.76, sp 1055, dp 23, proto 6, tok 448Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: no session found, start first path. in_tunnel - 0, from_cp_flag - 0Feb 15 18:01:23 18:01:22.1207073:CID-0:RT:check self-traffic on ge-0/0/0.0, in_tunnel 0x0Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: flow_first_create_sessionFeb 15 18:01:23 18:01:22.1207073:CID-0:RT: flow_first_in_dst_nat: in <ge-0/0/0.0> , out <N/A> dst_adr 172.24.28.76, sp 1055, dp 23Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: chose interface ge-0/0/0.0 as incoming nat if.Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: packet dropped: for self but not interestedFeb 15 18:01:23 18:01:22.1207073:CID-0:RT: packet dropped, packet dropped: for self but not interested.Feb 15 18:01:23 18:01:22.1207073:CID-0:RT: flow find session returns error.
If you see the "packet dropped: for self but not interested" message in the output, configure host-inbound traffic for the affected zone or interface. For more information, see the section 'Specify allowed host-inbound traffic for a zone or interface' above.If you are unable to log in as root using telnet, that is per design; see KB10083 - Telnet to Junos router fails with root login [juniper.net] .
2023-10-13: Updated categories.2020-03-20: Article reviewed for accuracy; no changes required.