Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
New Contributor

Remote RADIUS Server on a VPN



I have a FortiGate #  80F which has a working VPN with my Windows NPS (which is on one Windows AD DC) on Azure


All the clients on the LAN where 80F's internal port is can reach the server and do their authentication tasks.


80F can't: I can't ping DC from CLI console, and Radius Server connection status says " Can't contact RADIUS server ".


Radius server should be ok, since in another site it works. Since I can't ping it from CLI console, I suspect there's something wrong.


Can you help me please?




Hi JakeBlues,
So you're saying that the NPS is a server hosted in Azure, which you presumably reach through an IPsec tunnel?


If so, check if your IPsec tunnel interface has an IP configured:

show sys interface remote-win | grep "set ip"


If there's no IP, that's the usual reason why traffic like this doesn't work.

There are two solutions to this:


1, Specific to this RADIUS object: Set source-IP for it

config user radius
edit "<nps-object-name>"
set source-ip <some-ip>


The source-IP should be an IP owned by the FortiGate (usually a "LAN-side" interface's IP), and it should also be an IP that NPS expects to talk to it. (remembering that in NPS you have a list of permitted clients + potentially source-IP restrictions in Connection Request Policies)


2, General solution for all local-out traffic: Set an IP for the tunnel interface.


Simply edit the VPN interface and give it an IP. There are additional configuration steps you may have to consider:

- Routing: the Azure side of the tunnel should recognize the new IP and know that it is reachable through the tunnel.

- Firewall policies: The Azure side needs to know that this traffic is permitted to pass.

- IPsec traffic selectors: There must be an IPSEC ESP SA that allows packets coming to/from this IP. If your selectors are>, or they already include the new IP, you're good to go. Otherwise you may need to add a new phase2 to ensure this is allowed to pass through.

[ corrections always welcome ]
New Contributor

I'm running 7.2.5 and I have the source-ip configured, but no tunnel interface IP. Still, the debug log says

__fnbamd_rad_send-Error sending radius request: fd=10, Network is unreachable


My config looks like this, is the LAN IP which is fully routed across all remote locations. is a local RADIUS which works (next hop) and is the RADIUS in the remote site, which does not work.

config user radius
edit "myRADIUS"
set server ""
set secret ENC bla
set nas-ip
set source-ip ""
set interface-select-method specify
set interface "internal1"
set secondary-server ""
set secondary-secret ENC blabla


Hi Lucas,


These 2 commands, you should leave it as default.

set interface-select-method specify
set interface "internal1"


Or if you want to specify it manually then it should be the outgoing interface to the remote RADIUS server, not "internal1".

I believe it should be set to your tunnel interface.



Nice, that indeed worked. Thank you!


most welcome. glad it helps


Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Top Kudoed Authors