- Zero Trust model – Deny By Default
- IAM – Identity and Access Management
- External Authentication
- Users & Groups
- Access Policies
- Group Policies
- Conditional Access Policies
- Apply Policy to LAN
- Resources
- Hotspot Web Portal
- Backup & Restore
The Zero Trust model #
Traditional network security models focus on perimeter security and assume that users, devices, applications and network traffic already inside the organisation’s internal network are trustworthy. The Zero Trust model changes this by assuming that all users, devices, applications and network traffic could be compromised or hostile by default, and using this hypothetical worst-case scenario as the starting point for implementing security practices.
This fundamental shift in thinking about security forces network and systems administrators to take a different approach which can be summed up as “Deny by Default”. The network itself can be redesigned to segment it in a more granular way, eg. Separate VLANs for network infrastructure equipment, end-user devices, servers and applications.
Security is then implemented at each and every point in the chain, for example; untrusted devices are denied network access, even if they attempt to join with valid user credentials. Authenticated devices are allowed to join the network, but policies determining which segments of the network are accessible are implemented depending on the device, the user credentials, or both. Likewise, even a verified device logged into by a valid user still doesn’t automatically get access to applications or data – the user needs to re-authenticate again before being given access, and each user is given the minimum amount of access necessary at each stage to perform their role. All network traffic is encrypted wherever possible, and applications are restricted to only the network resources they actually require to run. Everything else is denied by default.

Fig 1. – The Zero Trust Model
Identity and Access Management (IAM) in DrayOS 5 #
Users on the router can be either Router Management or IAM Users. Router Management users can log into the router itself and depending on role, either view or modify the router’s configuration. Router Management users cannot be used to log into VPNs or for IAM authentication.
IAM users can be authenticated for VPNs and IAM resources but not for router management functions.
User identities can be stored on the router itself, or authenticated against an external source, such as a RADIUS or TACACS+ server. The Vigor2136ax router can also act as a RADIUS server itself. Devices or applications compatible with RADIUS can be configured to authenticate against users created on the router.
To create a new user on the router, navigate to IAM >> Users & Groups > Users tab and click the +Add button:

Fig 2. – Adding Users in DrayOS 5 on the Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
Router Management User Creation #
- Fill in the Username field.
- Select Router Management
- Set the Password and Confirm New Password
- Configure the account options, eg. For Router Management Users;
- Select the Role – Administrator, Guest, or Users, and;
- Set the account Status to Active or Inactive,
- Select whether to allow Login from WAN.
Email and SMS notifications for the user can be enabled or disabled, and whether or not to enforce Multi-Factor Authentication can be selected. If MFA is enabled, valid methods for the user to receive the additional authentication factor are TOTP (Time-based One-Time Password), Email, SMS or mOTP (mobile One-Time Password).

Fig 3. – Router Management User Creation in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
IAM User Creation #
- Fill in the Username field.
- Select IAM User
- Set the Password
- Configure the account options, eg. For IAM Users;
- Setting the account Status to Active or Inactive, and;
- Optionally select a Group Policy to apply,
- Optionally set an Expiration Date/Time for the account.
Email and SMS notifications for the user can be enabled or disabled, and whether or not to enforce Multi-Factor Authentication can be selected. If MFA is enabled, valid methods for the user to receive the additional authentication factor are TOTP (Time-based One-Time Password), Email, SMS or mOTP (mobile One-Time Password).

Fig 4. – Configuring a new IAM User in DrayOS 5 on the Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
IAM Users #
For IAM Users, Teleworker VPN access can be turned on or off per user, the user account status set to Active or Inactive, the user’s Group Policy can be selected, an account Expiry date/time can be set, Email and Mobile Phone Number can be set, and MFA (Multi-Factor Authentication) turned on or off on a per-user basis. For users with MFA enabled, the Allowed MFA Method can be chosen from any combination of Time-based One-Time Password (TOTP), Email, SMS, or mobile One Time Password (mOTP).
Teleworker VPN access can be further restricted using Schedule Objects to specify valid dates and times for user connections. Idle Timeout can be set to automatically disconnect VPN users when no VPN traffic is detected.
Allowed VPN protocols can be one or more of IPsec, OpenVPN, and WireGuard. Peer ID can be specified to restrict access by IP address for OpenVPN connections. IPsec and WireGuard VPNs can restrict access by IP address and Pre-Shared Key, and IPsec VPNs can also require X.509 cryptographic certificate authentication from the client.

Fig 5. – Configuring Teleworker VPN in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
IAM Groups #
IAM User Groups can be created by navigating to IAM >> Users & Groups > User Groups and clicking +Add to assign users to groups for easier management by grouping users with the same requirements together and applying policies to the group rather than the individual users.
Please note that there is currently a limitation of 12 users per group, and 32 total groups in DrayOS 5 on the Vigor2136ax.

Fig 6. – IAM User Groups in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
External Authentication #
Existing RADIUS or TACACS+ servers can be used to provide external authentication for IAM. RADIUS or TACACS+ server details can be added to Configuration >> RADIUS/ TACACS+ >> External RADIUS or Configuration >> RADIUS/ TACACS+ >> External TACACS+ to create Authentication Server profiles for use with IAM.

Fig 7. – Creating an External RADIUS Server Profile in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
External Authentication – RADIUS Server Profile example #
For External RADIUS servers, enable RADIUS Authentication, Add the Server IP address(es), enter the Secret, and set the Authentication Port.
If RADIUS Authorization is required, enable it and set the Disconnect Message port.
If RADIUS Accounting is required, enable RADIUS Accounting, Add the Server IP address(es), enter the Secret, and set the Authentication Port.
The Interim Update Interval can be set in minutes, Retries and Timeouts can be configured, and the connection can be tested by clicking the “Test with Status-Server” button:

Fig 8. Configuring an External RADIUS Server Profile in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
External Authentication – TACACS+ Server Profile example #
For External TACACS+ servers, enter the Primary Server and Secondary Server IP Address, Destination Port, and Shared Secret:

Fig 9. Configuring an External TACACS+ Server Profile in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
External Authentication – Configure IAM External Authentication Server (RADIUS) example #
Once the Server Profiles have been created in the Configuration >> RADIUS/ TACACS+ menu, external RADIUS and TACACS+ Authentication Servers can be used for IAM by navigating to IAM >> Users & Groups > Authentication Server and clicking +Add
For RADIUS servers, fill out the Server Name, select the Authentication Type, select the Server Profile and click Apply:

Fig 10. – Configuring External RADIUS Authentication for IAM in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
External Authentication – Configure IAM External Authentication Server (TACACS+) example #
For TACACS+ servers, fill out the Server Name, select the Authentication Type, and click Apply:

Fig 11. – Configuring External TACACS+ Authentication for IAM in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
User & MFA Security #
User & MFA Security can be used to implement Brute Force Protection by setting a maximum number of login attempts (from 3 to 255), before incurring a configurable penalty waiting period of anywhere between 5 minutes and 24 hours for the next attempt, or locking out the user account to impede and stop brute-force attacks.

Fig 12. – User & MFA Security – Brute Force Protection in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) Policies in DrayOS 5
IAM Access Policies #
IAM Access Policies can be created to specify Access Control Mode, which provides options to Allow or Block network access based on MAC addresses, to allow only authenticated (logged in) users, to select a Hotspot profile configuration for network access, or to disable these and simply allow network access by default (although MFA can still be enforced separately for configured Resources).
Other options include Authentication Mode (Single or Multi-Factor), MAC Address Filtering, Allowed User or User Group, and Login Session Lifetime length for granular control over network access.
To create an IAM Access Policy, navigate to IAM >> IAM Policies > Access Policies and click +Add

Fig 13. – Adding IAM Access Policies in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) Policies in DrayOS 5
IAM Access Policies
Enter a Name for the policy, select the desired Access Control Mode, and configure applicable options, such as Authentication Mode, MAC Address Filter, Allowed User or User Groups, and Login Session Lifetime:

Fig 14. – Configuring IAM Access Policy in DrayOS 5 on Vigor2136ax
See: Identity and Access Management (IAM) in DrayOS 5 – Hotspot Web Portal later in this document for more information about this option.
Identity and Access Management (IAM) Policies in DrayOS 5
IAM Group Policies #
Group Policies can be configured to apply at all times (‘Always On’), or during specified times (‘Scheduled On’) to allow or block access to individual Resources based on Conditional Access Policies, and custom Firewall Policies can be defined for each Group Policy.
To create an IAM Group Policy, navigate to IAM >> IAM Policies > Group Policies and click +Add:

Fig 15. – Creating IAM Group Policies in DrayOS 5 on Vigor2136ax
To configure the policy, enter a Name for the policy, select Schedule, Add Allowed Resources, and select the Firewall policy:

Fig 16. – Configuring IAM Group Policies in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) Policies in DrayOS 5 IAM Group Policies:
Custom Firewall Policies can be implemented in Group Policies by selecting “Customize group firewall filters” from the Firewall drop-down menu, and configuring Outbound IPv4 Filters, Web Content Filters, setting the Default Action to Pass or Block, enabling or disabling the Content Filter Default Rule, and logging options can be selected:

Fig. 17 – Configuring Custom Firewall Policy in IAM Group Policy in DrayOS 5 on Vigor2136ax
Outbound IPv4 filters can be configured to apply according to a Schedule Object, or to be Always On. IP address ranges can be configured with the Destination IP Start and Destination IP End fields. TCP, UDP, ICMP, both TCP/UCP or Any protocol can be specified, and port ranges can be specified with the Dest Port Start and Dest Port End fields.
The Default Action is configurable and can be set to either Pass or Block the outbound traffic as desired.
Please note that the Web Content Filter (WCF) function requires purchase and activation of a license.
Identity and Access Management (IAM) Policies in DrayOS 5
IAM Conditional Access Policies: #
Conditional Access Policies can be used to set particular conditions to extend the usefulness of Group Policies. Supported configurable conditions are whether or not MFA is required, Allow or Block IP address(es), and Allow or Block according to a Time Schedule using a Schedule Object.
To create a Conditional Access Policy, navigate to IAM >> IAM Policies > Conditional Access Policy and click +Add

Fig. 18 – Creating IAM Conditional Access Policy in DrayOS 5 on Vigor2136ax
Enter a Name for the policy, enable MFA Condition to force use of MFA, select the desired Reauthentication condition, optionally enable Source IP condition, and optionally enable a Time Schedule condition restriction.

Fig. 19 – Configuring IAM Conditional Access Policy in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) Policies in DrayOS 5
IAM – Apply Policies to LAN #
An Access Policy, Group Policy, or both can then be applied to LAN network segments to enforce network-level access control, resource access control, conditional access such as requiring MFA, allowing or denying access based on IP address, MAC Address or LAN segment, date/time schedules, and customised Firewall Policies.

Fig. 20 – Applying IAM Policies to LAN Segments in DrayOS 5 on Vigor2136ax
Date and time based Schedule Objects need to be configured in the router at Configuration >> Objects >> Schedule

Fig. 21 – Date Time Schedule Objects in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) Policies in DrayOS 5
IAM Resources #
Resources can be defined by a combination of either IP or MAC Address and a port selection. Valid port selections include ‘All TCP/UDP ports’, ‘All TCP ports’, ‘All UDP ports’, or entering specific ports and choosing either TCP, UDP or both protocols, or a Service Type Object, which you can define from the Configuration >> Objects >> Service Type Object page, where the source and destination ports can be configured as ranges of ports.
To create an IAM Resource for use in an IAM Policy, navigate to IAM >> Resources and click +Add

Fig. 22 – Creating IAM Resources in DrayOS 5 on Vigor2136ax
Enter a Name for the Resource, select IP or MAC for Resource Type, enter either the IP or MAC Address of the resource, select the desired Resource Port setting, and either Allow ICMP to allow ICMP traffic such as ping, or leave disabled as per your requirements:

Fig. 23 – Configuring IAM Resources in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5
Hotspot Web Portal #
When creating IAM Access Policies, one of the options for the Access Control Mode is “Guest Hotspot”. This option can be selected for providing Guest Wi-Fi access via a captive portal. When the Guest Hotspot Access Control Mode is enabled, you can select the desired profile from a Hotspot Profile drop-down menu.

Fig. 24 – IAM Access Control Mode – Guest Hotspot
These profiles can be created by navigating to IAM >> Hotspot Web Portal and clicking +Add to create profiles:

Fig. 25 – IAM Hotspot Web Portal Profile Creation in DrayOS 5 on Vigor2136ax
Identity and Access Management (IAM) in DrayOS 5 Hotspot Web Portal:
To configure the profile, enter a Profile Name, select a Portal Method, and enter the Captive Portal URL:

Fig. 26 – IAM Hotspot Web Portal Profile Login Method Configuration
The Login Page Setup tab offers customisation options, where branding graphics, Welcome Message, Terms and Conditions and Marketing Content can be added to the Hotspot Portal Captive Login page:

Fig. 27 – IAM Hotspot Web Portal Profile Login Page Setup Configuration
Identity and Access Management (IAM) in DrayOS 5 Hotspot Web Portal:
The Whitelist Setting tab allows for configuration of Whitelisted destination domains / IP addresses, Whitelisted destination protocol/port combinations, and Whitelisted source IP addresses:

Fig. 28 – IAM Hotspot Web Portal Whitelist Setting Configuration
The More Options tab contains settings for Landing Page After Authentication, where users can be redirected after logging in, to either a specific URL, or whichever URL the user requested before authenticating to the Hotspot:

Fig. 29 – IAM Hotspot Web Portal Configuration – Landing Page After Authentication
Identity and Access Management (IAM) in DrayOS 5
Backup & Restore #
Configured IAM Users, Groups, Access Policies, Group Policies, Conditional Access Policies and Resources settings can be exported to an optionally password-protected backup file. Previously exported configuration backups can also be imported into the router.
This allows for IAM Settings to be backed up and restored separately to the rest of the router’s configuration.
The Backup and Restore functions can be accessed by navigating to IAM >> Backup & Restore

Fig. 30 – IAM Configuration Backup & Restore
Article published 11/11/2024 by Shaun