Technical Tip: Admin access over SSL VPN
| Description | This article describes how to gain administrator access to FortiGate over SSL VPN. | ||
| Scope | FortiGate. | ||
| Solution | A network administrator can access FortiGate’s Web admin through an SSH session over SSL VPN connection.
config system interface edit "port1" set vdom "root" set ip 10.10.10.1 255.255.255.0 set allowaccess ping https ssh http telnet set type physical set snmp-index 1 next end
config firewall policy edit 1 set name "sslvpn_admin_access" set uuid feecba32-4b23-51ee-aa07-3bbdd4a46dac set srcintf "ssl.root" set dstintf "port1" set action accept set srcaddr "SSLVPN_TUNNEL_ADDR1" set dstaddr "admin_address" set schedule "always" set service "ALL" next end
To be more specific in the policy, it is possible to set the service only what is needed. In this case, it would be ICMP, HTTPS(443), SSH(22) HTTP(80) and telnet(23) services. |
| |
