IP Location.net

Virtual Private Network, Network, Cybersecurity

Adding MFA to SonicWall and Palo Alto GlobalProtect Without Replacing the Gateway

VPN gateways have become one of the busiest entry points into corporate networks. In the Verizon 2026 Data Breach Investigations Report, exploited vulnerabilities overtook credential abuse as the top way in, accounting for 31% of breaches compared to 13%. The 2025 edition found that edge devices and VPNs accounted for 22% of exploitation cases, up from 3% a year earlier. Patching closes the vulnerability side. It does nothing about a valid password typed into the VPN client. Rapid7's 2026 Global Threat Landscape Report found that valid accounts without MFA were the most common initial access vector, behind 43.9% of the incidents its team investigated in 2025.

Neither SonicWall nor Palo Alto needs to be replaced to fix that. Both can send authentication to an external RADIUS server, and an MFA server in that role checks a one-time password after the normal password.

The idea is the same on both platforms. The places where rollouts break are not.

SonicWall Palo Alto GlobalProtect
Where RADIUS is configured Users > Settings, authentication method set to RADIUS Device > Server Profiles > RADIUS, then an Authentication Profile
Version differences Menu paths differ between SonicOS 6.2 and earlier and SonicOS 6.5 and later On PAN-OS 7.x, PAP has to be set from the CLI
Where MFA is applied SSL VPN user authentication Portal, gateway, or both, through the Authentication Profile
Group-based access RADIUS Users tab maps group membership Authentication Profile can be limited to all users or specific groups
Typical gotcha RADIUS timeout too short for a user to type a code Users prompted for an OTP twice if both portal and gateway require it

What Both Gateways Need from an MFA Server

Both gateways need the same three things: a reachable RADIUS server, a protocol that passes the password in a usable form, and enough time for a person to enter a code. Get those right and most of the work is done.

The Minimum the Firewall Has to Send

RADIUS (Remote Authentication Dial-In User Service) is the protocol firewalls use to ask an outside server, "Is this user allowed in?" The gateway acts as the RADIUS client. The MFA server acts as the RADIUS server and answers with Access-Accept or Access-Reject.

For the MFA server to check both the password and the one-time password (OTP), the gateway usually has to send them with PAP. Authentication normally runs over UDP port 1812.

PAP relies on the RADIUS shared secret for protection. Keep that traffic on an internal or management network, not across the internet.

Challenge Prompt or Inline Code

The second factor reaches the MFA server in one of two ways. In challenge mode, the gateway shows a separate prompt for the code after the password is accepted. In inline mode, the user types the password and the code in one field, separated by a configured delimiter.

Challenge mode is what most users expect. Inline mode is the fallback for clients that cannot show a second prompt.

The choice affects which methods work. Inline mode suits codes from an app or a hardware token. SMS authentication typically requires a separate step to deliver and enter the code.

If the same users connect through more than one gateway, a vendor-neutral view of MFA for VPN helps settle these choices once instead of per device.

SonicWall: Where Rollouts Go Wrong

On SonicWall, most problems come from following instructions written for the wrong SonicOS branch. The second most common cause is a timeout tuned for passwords, not people.

Two SonicOS Branches, Two Menu Layouts

The RADIUS server is added under Users > Settings, with the user authentication method set to RADIUS. That much is the same everywhere.

The screens around it are not. SonicOS 6.2 and earlier, and SonicOS 6.5 and later, lay out RADIUS settings differently, so a guide for one branch confuses admins on the other. A SonicWall VPN MFA setup that covers both branches separately saves a fair amount of trial and error.

The Timeout and Group Mapping

The RADIUS server timeout is tuned for instant password checks. A person needs time to find a token, read the code, and type it. Raise the timeout to at least 30 seconds before the first test.

The RADIUS Users tab decides how group membership is handled. Check it before the pilot. A wrong setting here lets users authenticate successfully and then land in no group, which looks like a broken VPN.

What Users See in the Client

The standard RADIUS configuration allows SonicWall VPN users to authenticate with a password and a one-time code. Still, test every VPN client version your users actually run. Older installations left on home laptops are where unexpected behavior tends to appear. If a client cannot show the second prompt, inline mode is the workaround.

Reading the Logs During the Pilot

When a test login fails, two logs answer most questions. The firewall log shows whether the RADIUS request timed out or was rejected. The MFA server log shows whether the request arrived.

No request on the MFA server side points to the network or the client IP address. A request that arrived and was rejected points to the shared secret, the user, or the code.

Checking both logs side by side turns a vague "VPN doesn't work" into a five-minute fix.

GlobalProtect: Where Rollouts Go Wrong

On Palo Alto, the configuration itself is clean. The usual surprise is that GlobalProtect authenticates twice, at the portal and at the gateway.

Server Profile, Authentication Profile, Assignment

MFA on PAN-OS is built from three pieces. A RADIUS server profile holds the server address, shared secret, timeout, and protocol. An authentication profile references that server profile and can be limited to specific groups. The authentication profile is then assigned to the portal, the gateway, or both.

Set the timeout in the server profile to at least 30 seconds and the protocol to PAP. On PAN-OS 7.x, PAP must be configured via the CLI. Instructions for GlobalProtect MFA walk through these screens in order.

The Double Prompt

If both the portal and the gateway use the same OTP-based profile, users may be prompted for a code twice. Authentication at the gateway can fail if the first code is reused.

The usual fix is authentication override cookies. The portal issues a cookie after the MFA login, and the gateway accepts it instead of asking again.

The alternative is to apply MFA at only one of the two. Either way, decide before the pilot rather than after the first round of complaints. Applying MFA only at the portal is simpler to explain to users, but check that the gateway cannot be reached without passing through the portal first.

Groups and Exceptions

The authentication profile can apply to all users or to specific groups. That is useful for a phased rollout: start with IT, then expand group by group.

It is also where exceptions creep in. Review which groups are excluded, and why, before calling the rollout finished.

Choosing the Method and Testing the Change

The method shapes the user experience far more than the firewall does. Most organizations settle on two methods and a short test plan.

Matching Methods to Users

Method Challenge prompt Inline mode Needs a smartphone Notes
Authenticator app (TOTP) Yes Yes Yes Works offline on the phone; the common default
Hardware OTP token Yes Yes No For staff without company phones or where phones are restricted
SMS Yes Not practical Any phone Delivery delays and SIM swap risk; better as a backup
Messenger chatbot Yes Not practical Yes No extra app if the messenger is already installed

An authenticator app works for most staff. Hardware tokens cover people who cannot or will not use a phone for work. SMS works better as a fallback than as the main method.

Telling Users What Changes

Users notice the change at the next connection, so tell them before it happens. A short message with a screenshot of the new prompt prevents most help desk calls.

Say when MFA starts, which method each group will use, and what to do if the code is rejected. Give one clear contact for the first week.

Remote users matter most here. If their VPN fails, they often cannot reach the internal channels where the instructions were posted.

Mistakes Common to Both Platforms

  • MS-CHAPv2 instead of PAP. MS-CHAPv2 uses challenge-response authentication, which prevents the MFA RADIUS server from processing the password and OTP as required.
  • Mismatched shared secrets. A typo in the secret can cause RADIUS requests to be silently dropped, making authentication failures difficult to diagnose.
  • Requests from an unexpected interface. The MFA server only answers RADIUS clients it knows. A gateway sending from a different IP address gets ignored.
  • One RADIUS server. If it goes down, every VPN login fails. Configure a primary and a secondary server on the gateway.
  • The firewall's own admin login. The VPN gets MFA, but the management interface still accepts a password alone. Apply the same RADIUS setup to administrator logins where the platform allows it.

A Test Plan Before Monday Morning

Write the test plan before changing anything. Keep it short enough that someone will actually run it.

Test one user per method: app, token, and any fallback. Test each client version in use, on both Windows and macOS if you have both.

Test a wrong code, an expired code, and a code entered after the timeout. Then switch off the primary RADIUS server and confirm the secondary takes over.

Finally, keep a rollback path. Save the current authentication settings and keep one admin session open during the change. If something breaks at 8 a.m., you want to be back to the old configuration in minutes, not hours.

Sources referenced: Verizon 2026 and 2025 Data Breach Investigations Reports; Rapid7 2026 Global Threat Landscape Report; SonicWall SonicOS and Palo Alto Networks PAN-OS administration documentation.

Conclusion

Implementing MFA on SonicWall and Palo Alto GlobalProtect strengthens VPN security by adding another layer of protection against compromised credentials. Although both platforms support RADIUS-based authentication, their configuration requirements, authentication workflows, and potential implementation challenges differ.

A successful MFA rollout requires careful configuration, appropriate authentication methods, thorough testing, and clear communication with users. By addressing platform-specific challenges and maintaining a reliable fallback and recovery plan, organizations can improve remote access security while minimizing operational disruptions.

Featured Image generated by Google Gemini.

Share this Post

Comments

Comments are available to signed-in users and are moderated to keep the discussion useful and respectful. Spam, automated submissions, and low-value promotional comments are removed. Outbound links may be approved when they are relevant and genuinely helpful to readers, but they are displayed as plain text rather than clickable hyperlinks.

No comments have been published yet.

Please sign in to submit a comment.