SSL based VPN from Fortinet in Ubuntu Server

Fortinet Client က GUI ပဲ​ပေးထားလို့ Server မှာ သွင်းဖို့ နည်းနည်း ခက်ခဲပါတယ်။ ဒါပေမယ့် Server Fault မှာ ဖြေထားတာ တွေ့လို့ အဆင်ပြေသွားတယ်။

$ sudo apt install -y openfortivpn
$ touch openfortivpn.conf
$ chmod go= openfortivpn.conf
$ vi openfortivpn.conf

File ထဲမှာ

host =
port =
username =
password =

ထည့်ပြီးရင် ပထမဆုံး trusted-cert ရဖို့ လိုပါတယ်။

$ sudo openfortivpn -c openfortivpn.conf

Error တက်ပါမယ်။ အဲဒီ အထဲမှာ trusted-cert = <SOME TEXT> ဆိုတာ ပါပါမယ်။ Copy ကူးပြီးတော့ openfortivpn.conf မှာ ထပ်ဖြည့်ဖို့ လိုပါတယ်။

host = 
port = 
username =
password =
trusted-cert =

ပြီးရင်

$ sudo openfortivpn -c openfortivpn.conf

VPN connect ဖြစ်သွားပါမယ်။

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Saturngod

Subscribe now to keep reading and get access to the full archive.

Continue reading