OpenWRT install and connect Fortinet VPN

opkg install openfortivpn luci-proto-openfortivpn

reboot

in Luci

add interface

proto using openfortivpn

fill username, password, ip address, port

in advanced, fill “VPN Server’s certificate SHA1 hash” if your fortiSSL cert not trusted by your device.

Save and apply

restart the interface will connected and get a ip from vpn.

Let openwrt’s client can access fortiSSL

# iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o vpn-company -j MASQUERADE

add static route then done

留言

這個網誌中的熱門文章

OpenVPN Server build on Debian 11

OpenWRT dumb AP with WPA3-SAE + 802.11r