Configure FortiGate SSL VPN Authentication with AD

Steps to configure FortiGate SSL VPN Authentication with AD (Active Directory) Create a LDAP Server in FortiGate AD Server = 192.168.1.200 cnid = sAMAccountName” config user ldap edit “UAT-AD01” set server “192.168.1.200” set cnid “sAMAccountName”” set dn “dc=uat,dc=aventislab,dc=com” set type regular set username “uat\\administrator” set password P@ssw0rd end Verify the LDAP connection is established successfully … Read more

Configure Outbound NAT in FortiGate with CLI

Steps to configure Outbound NAT in FortiGate with CLI Ubuntu is accessing Internet via 121.121.43.50, and we would like to change it to 121.121.43.51 curl -4 icanhazip.com 121.121.43.50 Create an object for Internal Server config firewall address edit “wp5” set subnet 192.168.1.250 255.255.255.255 end Create an IP POOL for public IP Address config firewall ippool … Read more

Publish Server to Internet with CLI in FortiGate

Steps to Publish Server to Internet with CLI in FortiGate Assign a free public IP to the pool or you can ignore this step if the public IP is configured previously config firewall ippool edit “121.121.43.52” set startip 121.121.43.52 set endip 121.121.43.52 next Configure the NAT to map 121.21.43.52:22 to 192.168.1.250:22 config firewall vip edit … Read more