This article provides information on how to configure multiple authentication mechanisms on a SRX device for dynamic VPN.
To configure redundancy for the authentication of dynamic VPN users, so that if one mechanism does not function, users can get authenticated from the other mechanism.
At times, the authentication servers are disconnected and not reachable.
In this example, the following authentication mechanisms are being used:
root# show access profile remote_access_profile { authentication-order [ radius password ]; client user1 { firewall-user { password “$ABC123"; ## SECRET-DATA } } client user2 { firewall-user { password “$ABC123"; ## SECRET-DATA } } address-assignment { pool dyn-vpn-address-pool; } radius-server { 172.27.186.24 secret “$ABC123"; ## SECRET-DATA } } address-assignment { pool dyn-vpn-address-pool { family inet { network 10.10.0.0/24; xauth-attributes { primary-dns 192.168.2.2/32; secondary-dns 192.168.2.3/32; } } } } firewall-authentication { web-authentication { default-profile remote_access_profile; } }
set access profile remote_access_profile authentication-order radius set access profile remote_access_profile authentication-order password set access profile remote_access_profile client user1 firewall-user password “$ABC123" set access profile remote_access_profile client user2 firewall-user password “$ABC123" set access profile remote_access_profile address-assignment pool dyn-vpn-address-pool set access profile remote_access_profile radius-server 172.27.186.24 secret “$ABC123" set access address-assignment pool dyn-vpn-address-pool family inet network 10.10.0.0/24 set access address-assignment pool dyn-vpn-address-pool family inet xauth-attributes primary-dns 192.168.2.2/32 set access address-assignment pool dyn-vpn-address-pool family inet xauth-attributes secondary-dns 192.168.2.3/32 set access firewall-authentication web-authentication default-profile remote_access_profile
2020-02-21: Changed encrypted password to “$ABC123".