- user@host# set interfaces ge-0/0/1
- user@host# set unit 0 family inet address
20.20.20.1/24 web authentication http
- user@host# set unit 0 family inet address
20.20.20.2/24
- user@host# set interfaces fe-5/0/0
- user@host# set unit 0 family inet address
30.30.30.1/24
- user@host# set unit 0 family inet address
30.30.30.2/24
- user@host# set access profile WEBAUTH client
FWClient1 firewall-user password pwd
- user@host# set access firewall-authentication
web-authentication default-profile WEBAUTH
banner success "WEB AUTH LOGIN SUCCESS"
- user@host# set security zones security-zone
UT-ZONE host-inbound-traffic system-services
all
- user@host# set security zones security-zone
UT-ZONE interfaces ge-0/0/1.0 host-inbound-traffic
protocols all
- user@host# set security zones security-zone
T-ZONE host-inbound-traffic system-services
all
- user@host# set security zones security-zone
T-ZONE interfaces fe-5/0/0.0 host-inbound-traffic
protocols all
- user@host# set security policies from-zone
UT-ZONE to-zone T-ZONE policy policy-W
match source-address any
- user@host# set security policies from-zone
UT-ZONE to-zone T-ZONE policy policy-W
match destination-address any
- user@host# set security policies from-zone
UT-ZONE to-zone T-ZONE policy policy-W
match application any
- user@host# set security policies from-zone
UT-ZONE to-zone T-ZONE policy policy-W
then permit firewall-authentication web-authentication client-match FWclient1
- user@host# set system services web-management
http
The following screen appears after the firewall user is authenticated.