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
留言
張貼留言