Technical Tip: How to use fqdn as local-id in VPN Manager
| Description | This article describes how to use fqdn as a local ID for tunnels in VPN Manager. |
| Scope | FortiManager, VPN Manager, FortiGate. |
| Solution | In VPN Community settings local id type can be set to use fqdn:
VPN Manager -> Select the VPN Community > Edit (or create new) -> Advanced-Options -> localid-type > Select 'fqdn':
When adding a Gateway to the community, it gives the option to set the local id which now allows to set fqdn:
Then Select a gateway -> Select Edit -> Set/change the Local ID:
Installing config to the FortiGate shows the localid and the type set to fqdn:
The same result can be achieved using API:
{ "method": "update", "params": [ { "data": [ { "name": "{{COMMUNITY_NAME}}", "localid-type": "fqdn" } ], "url": "/pm/config/adom/{{ADOM}}/obj/vpnmgr/vpntable" } ], "session": "{{session}}", "id": 1 }
{ "method": "update", "params": [ { "data": { "id": 4, "vpntable": "{{COMMUNITY_NAME}}", "localid": "{{LOCAL_ID}}" }, "url": "pm/config/adom/{{ADOM}}/obj/vpnmgr/node" } ], "id": "1", "session": "{{session}}" }
{
|






