fortinet.fortimanager.fmgr_vpnsslweb_portal module – Portal.
Note
This module is part of the fortinet.fortimanager collection (version 2.3.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install fortinet.fortimanager
.
To use it in a playbook, specify: fortinet.fortimanager.fmgr_vpnsslweb_portal
.
New in fortinet.fortimanager 2.0.0
Synopsis
This module is able to configure a FortiManager device.
Examples include all parameters and values which need to be adjusted to data sources before usage.
Parameters
Parameter |
Comments |
---|---|
The token to access FortiManager without using username and password. |
|
the parameter (adom) in requested url |
|
Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters. Choices:
|
|
Enable/Disable logging for task. Choices:
|
|
Authenticate Ansible client with forticloud API access token. |
|
The overridden method for the underlying Json RPC request. Choices:
|
|
The rc codes list with which the conditions to fail will be overriden. |
|
The rc codes list with which the conditions to succeed will be overriden. |
|
The directive to create, update or delete an object. Choices:
|
|
the top level parameters set |
|
Allow user access to SSL-VPN applications. Choices:
|
|
Enable/disable automatic connect by client when system is up. Choices:
|
|
Bookmark-Group. |
|
Bookmarks. |
|
Additional parameters. |
|
Application type. Choices:
|
|
Color depth per pixel. Choices:
|
|
Description. |
|
Login domain. |
|
Network shared file folder parameter. |
|
Form-Data. |
|
Name. |
|
Value. |
|
Screen height |
|
Host name/IP parameter. |
|
Keyboard layout. Choices:
|
|
Listening port |
|
The load balancing information or cookie which should be provided to the connection broker. |
|
(list) Logon password. |
|
Logon user. |
|
Bookmark name. |
|
Remote port. |
|
An arbitrary string which identifies the RDP source. |
|
The numeric ID of the RDP source |
|
Remote port |
|
Enable/disable restricted admin mode for RDP. Choices:
|
|
Security mode for RDP connection. Choices:
|
|
Enable/disable sending of preconnection ID. Choices:
|
|
Server side keyboard layout. Choices:
|
|
Enable/disable showing of status window. Choices:
|
|
Single Sign-On. Choices:
|
|
Single sign-on credentials. Choices:
|
|
Single sign-on credentials are only sent once to remote server. Choices:
|
|
(list) SSO password. |
|
SSO user name. |
|
URL parameter. |
|
Keyboard layout. Choices:
|
|
Screen width |
|
Bookmark group name. |
|
Allow client to add source range for the tunnel traffic. Choices:
|
|
Enable to support RDP/VPC clipboard functionality. Choices:
|
|
Change the web portal display language. |
|
Enable support of customized download URL for FortiClient. Choices:
|
|
Application type that is set by default. Choices:
|
|
Screen height |
|
Screen width |
|
Configure overlapping DHCP IP allocation assignment. Choices:
|
|
Relay agent gateway IP address to use in the giaddr field of DHCP requests. |
|
Relay agent IPv6 link address to use in DHCP6 requests. |
|
Enable to display the web portal bookmark widget. Choices:
|
|
Enable to display the web portal connection tools widget. Choices:
|
|
Enable to display the web portal user login history widget. Choices:
|
|
Enable to display the web portal status widget. Choices:
|
|
IPv4 DNS server 1. |
|
IPv4 DNS server 2. |
|
DNS suffix. |
|
Enable/disable all traffic go through tunnel only. Choices:
|
|
Enable to prioritize the placement of the bookmark section over the quick-connection section in the SSL-VPN application. Choices:
|
|
Enable/disable download option for FortiClient. Choices:
|
|
FortiClient download method. Choices:
|
|
Web portal heading message. |
|
Enable to prevent SSO credential being sent to client. Choices:
|
|
Type of host checking performed on endpoints. Choices:
|
|
Periodic host check interval. |
|
(list or str) One or more policies to require the endpoint to have specific security software. |
|
Method by which users of this SSL-VPN tunnel obtain IP addresses. Choices:
|
|
(list or str) IPv4 firewall source address objects reserved for SSL-VPN tunnel mode clients. |
|
IPv6 DNS server 1. |
|
IPv6 DNS server 2. |
|
Enable/disable all IPv6 traffic go through tunnel only. Choices:
|
|
(list or str) IPv4 firewall source address objects reserved for SSL-VPN tunnel mode clients. |
|
Enable/disable IPv6 tunnel service restriction. Choices:
|
|
Enable/disable IPv6 split tunneling. Choices:
|
|
(list or str) IPv6 SSL-VPN tunnel mode firewall address objects that override firewall policy destination addresses to control … |
|
Enable to negate IPv6 split tunneling routing address. Choices:
|
|
Enable/disable IPv6 SSL-VPN tunnel mode. Choices:
|
|
IPv6 WINS server 1. |
|
IPv6 WINS server 2. |
|
Enable/disable automatic reconnect for FortiClient connections. Choices:
|
|
no description |
|
no description |
|
Name. |
|
Value. |
|
Landing page log out URL. |
|
Single sign-on. Choices:
|
|
Single sign-on credentials. Choices:
|
|
(list) no description |
|
SSO user name. |
|
Landing page URL. |
|
Enable/disable SSL-VPN landing page mode. Choices:
|
|
Enable to limit each user to one SSL-VPN session at a time. Choices:
|
|
Client MAC address action. Choices:
|
|
Enable/disable MAC address host checking. Choices:
|
|
Mac-Addr-Check-Rule. |
|
(list) Client MAC address list. |
|
Client MAC address mask. |
|
Client MAC address check rule name. |
|
Download URL for Mac FortiClient. |
|
Portal name. |
|
Enable to let the FortiGate decide action based on client OS. Choices:
|
|
no description |
|
OS check options. Choices:
|
|
Latest OS patch level. |
|
Name. |
|
OS patch level tolerance. |
|
prefer to query IPv6 dns first if enabled. Choices:
|
|
Client login redirect URL. |
|
Rewrite contents for URI contains IP and /ui/. Choices:
|
|
Enable/disable FortiClient saving the users password. Choices:
|
|
Enable/disable tunnel service restriction. Choices:
|
|
Enable to skip host check for browser support. Choices:
|
|
Enable to skip host check if browser does not support it. Choices:
|
|
Enable to skip host check if client OS does not support it. Choices:
|
|
SMB maximum client protocol version. Choices:
|
|
SMB minimum client protocol version. Choices:
|
|
Enable support of NTLMv1 for Samba authentication. Choices:
|
|
Enable/disable support of SMBv1 for Samba. Choices:
|
|
Split-Dns. |
|
DNS server 1. |
|
DNS server 2. |
|
Split DNS domains used for SSL-VPN clients separated by comma |
|
ID. |
|
IPv6 DNS server 1. |
|
IPv6 DNS server 2. |
|
Enable/disable IPv4 split tunneling. Choices:
|
|
(list or str) IPv4 SSL-VPN tunnel mode firewall address objects that override firewall policy destination addresses to control … |
|
Enable to negate split tunneling routing address. Choices:
|
|
Web portal color scheme. Choices:
|
|
Transform backward slashes to forward slashes in URLs. Choices:
|
|
Enable/disable IPv4 SSL-VPN tunnel mode. Choices:
|
|
Use SD-WAN rules to get output interface. Choices:
|
|
Enable to allow web portal users to create their own bookmarks. Choices:
|
|
Enable to allow web portal users to create bookmarks for all users in the same user group. Choices:
|
|
Enable/disable SSL VPN virtual desktop. Choices:
|
|
Virtual desktop application list. |
|
Enable/disable sharing of clipboard in virtual desktop. Choices:
|
|
Enable/disable switch to virtual desktop. Choices:
|
|
Enable/disable logout when browser is close in virtual desktop. Choices:
|
|
Enable/disable network share access in virtual desktop. Choices:
|
|
Enable/disable printing in virtual desktop. Choices:
|
|
Enable/disable access to removable media in virtual desktop. Choices:
|
|
Enable/disable SSL VPN web mode. Choices:
|
|
Download URL for Windows FortiClient. |
|
IPv4 WINS server 1. |
|
IPv4 WINS server 1. |
|
The adom to lock for FortiManager running in workspace mode, the value can be global and others including root. |
|
The maximum time in seconds to wait for other user to release the workspace lock. Default: |
Notes
Note
Running in workspace locking mode is supported in this FortiManager module, the top level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
To create or update an object, use state present directive.
To delete an object, use state absent directive.
Normally, running one module can fail when a non-zero rc is returned. you can also override the conditions to fail or succeed with parameters rc_failed and rc_succeeded
Examples
- hosts: fortimanager-inventory
collections:
- fortinet.fortimanager
connection: httpapi
vars:
ansible_httpapi_use_ssl: True
ansible_httpapi_validate_certs: False
ansible_httpapi_port: 443
tasks:
- name: Portal.
fmgr_vpnsslweb_portal:
bypass_validation: False
workspace_locking_adom: <value in [global, custom adom including root]>
workspace_locking_timeout: 300
rc_succeeded: [0, -2, -3, ...]
rc_failed: [-2, -3, ...]
adom: <your own value>
state: <value in [present, absent]>
vpnsslweb_portal:
allow-user-access:
- web
- ftp
- telnet
- smb
- vnc
- rdp
- ssh
- ping
- citrix
- portforward
- sftp
auto-connect: <value in [disable, enable]>
bookmark-group:
-
bookmarks:
-
additional-params: <string>
apptype: <value in [web, telnet, ssh, ...]>
description: <string>
folder: <string>
form-data:
-
name: <string>
value: <string>
host: <string>
listening-port: <integer>
load-balancing-info: <string>
logon-password: <list or string>
logon-user: <string>
name: <string>
port: <integer>
preconnection-blob: <string>
preconnection-id: <integer>
remote-port: <integer>
security: <value in [rdp, nla, tls, ...]>
server-layout: <value in [en-us-qwerty, de-de-qwertz, fr-fr-azerty, ...]>
show-status-window: <value in [disable, enable]>
sso: <value in [disable, static, auto]>
sso-credential: <value in [sslvpn-login, alternative]>
sso-credential-sent-once: <value in [disable, enable]>
sso-password: <list or string>
sso-username: <string>
url: <string>
domain: <string>
color-depth: <value in [8, 16, 32]>
height: <integer>
keyboard-layout: <value in [ar, da, de, ...]>
restricted-admin: <value in [disable, enable]>
send-preconnection-id: <value in [disable, enable]>
width: <integer>
vnc-keyboard-layout: <value in [da, de, de-ch, ...]>
name: <string>
custom-lang: <string>
customize-forticlient-download-url: <value in [disable, enable]>
display-bookmark: <value in [disable, enable]>
display-connection-tools: <value in [disable, enable]>
display-history: <value in [disable, enable]>
display-status: <value in [disable, enable]>
dns-server1: <string>
dns-server2: <string>
dns-suffix: <string>
exclusive-routing: <value in [disable, enable]>
forticlient-download: <value in [disable, enable]>
forticlient-download-method: <value in [direct, ssl-vpn]>
heading: <string>
hide-sso-credential: <value in [disable, enable]>
host-check: <value in [none, av, fw, ...]>
host-check-interval: <integer>
host-check-policy: <list or string>
ip-mode: <value in [range, user-group, dhcp, ...]>
ip-pools: <list or string>
ipv6-dns-server1: <string>
ipv6-dns-server2: <string>
ipv6-exclusive-routing: <value in [disable, enable]>
ipv6-pools: <list or string>
ipv6-service-restriction: <value in [disable, enable]>
ipv6-split-tunneling: <value in [disable, enable]>
ipv6-split-tunneling-routing-address: <list or string>
ipv6-tunnel-mode: <value in [disable, enable]>
ipv6-wins-server1: <string>
ipv6-wins-server2: <string>
keep-alive: <value in [disable, enable]>
limit-user-logins: <value in [disable, enable]>
mac-addr-action: <value in [deny, allow]>
mac-addr-check: <value in [disable, enable]>
mac-addr-check-rule:
-
mac-addr-list: <list or string>
mac-addr-mask: <integer>
name: <string>
macos-forticlient-download-url: <string>
name: <string>
os-check: <value in [disable, enable]>
redir-url: <string>
save-password: <value in [disable, enable]>
service-restriction: <value in [disable, enable]>
skip-check-for-unsupported-browser: <value in [disable, enable]>
skip-check-for-unsupported-os: <value in [disable, enable]>
smb-ntlmv1-auth: <value in [disable, enable]>
smbv1: <value in [disable, enable]>
split-dns:
-
dns-server1: <string>
dns-server2: <string>
domains: <string>
id: <integer>
ipv6-dns-server1: <string>
ipv6-dns-server2: <string>
split-tunneling: <value in [disable, enable]>
split-tunneling-routing-address: <list or string>
theme: <value in [gray, blue, orange, ...]>
tunnel-mode: <value in [disable, enable]>
user-bookmark: <value in [disable, enable]>
user-group-bookmark: <value in [disable, enable]>
web-mode: <value in [disable, enable]>
windows-forticlient-download-url: <string>
wins-server1: <string>
wins-server2: <string>
skip-check-for-browser: <value in [disable, enable]>
smb-max-version: <value in [smbv1, smbv2, smbv3]>
smb-min-version: <value in [smbv1, smbv2, smbv3]>
virtual-desktop-logout-when-browser-close: <value in [disable, enable]>
virtual-desktop-clipboard-share: <value in [disable, enable]>
virtual-desktop-desktop-switch: <value in [disable, enable]>
virtual-desktop: <value in [disable, enable]>
virtual-desktop-network-share-access: <value in [disable, enable]>
virtual-desktop-printing: <value in [disable, enable]>
virtual-desktop-app-list: <string>
virtual-desktop-removable-media-access: <value in [disable, enable]>
transform-backward-slashes: <value in [disable, enable]>
ipv6-split-tunneling-routing-negate: <value in [disable, enable]>
split-tunneling-routing-negate: <value in [disable, enable]>
os-check-list:
action: <value in [allow, check-up-to-date, deny]>
latest-patch-level: <string>
name: <string>
tolerance: <integer>
use-sdwan: <value in [disable, enable]>
prefer-ipv6-dns: <value in [disable, enable]>
rewrite-ip-uri-ui: <value in [disable, enable]>
clipboard: <value in [disable, enable]>
default-window-height: <integer>
default-window-width: <integer>
dhcp-ip-overlap: <value in [use-old, use-new]>
client-src-range: <value in [disable, enable]>
dhcp-ra-giaddr: <string>
dhcp6-ra-linkaddr: <string>
landing-page:
form-data:
-
name: <string>
value: <string>
logout-url: <string>
sso: <value in [disable, static, auto]>
sso-credential: <value in [sslvpn-login, alternative]>
sso-password: <list or string>
sso-username: <string>
url: <string>
landing-page-mode: <value in [disable, enable]>
default-protocol: <value in [web, ftp, telnet, ...]>
focus-bookmark: <value in [disable, enable]>
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The result of the request. Returned: always |
|
The full url requested. Returned: always Sample: |
|
The status of api request. Returned: always Sample: |
|
The api response. Returned: always |
|
The descriptive message of the api response. Returned: always Sample: |
|
The information of the target system. Returned: always |
|
The status the request. Returned: always Sample: |
|
Warning if the parameters used in the playbook are not supported by the current FortiManager version. Returned: complex |