{"id":3611,"date":"2026-02-10T23:10:48","date_gmt":"2026-02-10T15:10:48","guid":{"rendered":"https:\/\/yowlab.idv.tw\/wordpress\/?p=3611"},"modified":"2026-02-11T14:47:34","modified_gmt":"2026-02-11T06:47:34","slug":"linux-%e7%92%b0%e5%a2%83%e4%b8%8b-%e9%80%a3%e7%b7%9a-fortinet-vpn-server","status":"publish","type":"post","link":"https:\/\/yowlab.idv.tw\/wordpress\/?p=3611","title":{"rendered":"Linux \u74b0\u5883\u4e0b \u9023\u7dda Fortinet VPN Server"},"content":{"rendered":"<p>\u53ea\u8981\u5148\u8a2d\u5b9a\u597d \/etc\/openfortivpn\/aifed.conf \u6a94\u6848\uff0c\u518d\u4e0b\u5169\u500b\u547d\u4ee4\uff0c\u4e0d\u4f46\u53ef\u4ee5\u9023\u4e0a Fortinet VPN Server\uff0c\u9084\u53ef\u4ee5\u4f5c\u5230\u5728 Fortinet VPN Server \u4e0b\u7684\u6a5f\u5668\u7db2\u8def\uff0c\u548c\u5916\u90e8\u7db2\u7ad9\u7db2\u8def \u9032\u884c\u5206\u6d41\u3002<\/p>\n<p>\u5148\u9023\u7dda\uff1a sudo openfortivpn -c \/etc\/openfortivpn\/aifed.conf  &#038;<\/p>\n<p>\u518d\u5206\u6d41\uff1a sudo ip route add 192.168.100.0\/24 via 169.254.2.1 dev ppp0 <\/p>\n<hr>\n<p>\u6700\u8fd1\u5e6b\u5fd9\u8dd1\u500b\u5c08\u6848\uff0c\u6709\u90e8\u4e3b\u6a5f\u85cf\u5728 Fortinet \u67b6\u69cb\u4e0b\uff0c\u82e5\u8981\u9023\u7dda\u8a72\u4e3b\u6a5f\uff0c\u8981\u5148\u9023\u4e0a fortinet \u7684 VPN Server, \u7136\u5f8c\u624d\u80fd\u8df3\u9032\u53bb\u8a72\u4e3b\u6a5f\u3002\u800c\u8981\u9023\u4e0a fortinet \u7684 vpn server\uff0c\u5247\u8981\u5229\u7528 Fortinet \u63d0\u4f9b\u7684 VPN \u9023\u7dda\u8edf\u9ad4\uff0c\u624d\u80fd\u9023\u5f97\u9032\u53bb\u3002<\/p>\n<p>\u5c0d\u65bc\u67b6\u69cb\uff0c\u6211\u6c92\u6709\u610f\u898b\uff0c\u5c08\u6848\u5925\u4f34\u4e5f\u6709\u63d0\u4f9b\u9023\u7dda\u5de5\u5177(For MS Windows) \u8b93\u6211\u53ef\u4ee5\u9023\u4e0a VPN Server\uff0c\u4e5f\u975e\u5e38\u597d\uff0c\u5c0d\u6b64\uff0c\u6211\u975e\u5e38\u611f\u6fc0\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u9019\u5c0d\u6211\u7684\u4f5c\u696d\u74b0\u5883(Linux Desktop)\u78ba\u5be6\u4e0d\u592a\u65b9\u4fbf\uff0c\u800c\u9019\u50c5\u662f\u6211\u500b\u4eba\u554f\u984c\uff0c\u6240\u4ee5\uff0c\u5c31\u81ea\u5df1\u52d5\u624b\u89e3\u6c7a\u4e86\u4e00\u4e0b\uff01<\/p>\n<style type=\"text\/css\">\nli.present01 {line-height:2em; background-color:#F5E5C9; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\nli.present02 {line-height:2em; background-color:#ceffbc; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\nli.present03 {line-height:1.5em; background-color:#b3dffa; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\nul.none {list-style-type:none;line-height:1.5em; padding:10px;}\nol.lower-alpha {list-style-type:lower-alpha;}\nol.lower-roman {list-style-type:lower-roman;}\nul.note {line-height:1.5em; padding:2px; font-weight:bold; font-size:0.9em;}\n.highlight01 {font-weight:bold; line-height:1.5em; background-color:#e7f49c; padding:0px 2px; border:1px; border-radius:10px;}\n.highlight02 {font-weight:bold; line-height:1.5em; background-color:#F2F26B; padding:1px 1px; border:1px;}\n.highlight03 {font-weight:bold; line-height:1.5em; background-color:#F9BF72; padding:3px 10px; border:2px; border-radius:10px;}\n.box01 {margin: 5px; border:1px #19130B solid; border-radius:5px; padding:10px;}\n.box02 {margin: 5px; font-weight:bold; line-height:1.5em; padding:10px; border:1px #19130B solid; border-radius:5px; float: left;}\nh3 {border:2px #000 solid; border-width:0px 0px 1px 0px; padding-width:0px 0px 3px 0px;}\n.code {font-family: sans-serif;}\npre { margin: 0px; }\n<\/style>\n<ol>\n<li class=\"present01\">\u65b9\u6848\u4e00\uff1a\u9023\u7dda\u5230\u5b98\u65b9\u7db2\u7ad9\uff0c\u4e0b\u8f09\u5b98\u65b9\u5c08\u5c6c\u9023\u7dda\u8edf\u9ad4\u3002<\/li>\n<p><a href=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221700.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221700-1024x474.png\" alt=\"\" width=\"530\" height=\"245\" class=\"alignnone size-large wp-image-3620\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221700-1024x474.png 1024w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221700-350x162.png 350w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221700-768x355.png 768w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221700.png 1489w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>\u9019\u662f\u6700\u7406\u60f3\u72c0\u614b\uff0c\u4f46\u662f\uff0c\u8981\u4e0b\u8f09\u8a72\u8edf\u9ad4\uff0c\u9084\u8981\u63d0\u4f9b\u4e00\u4e9b\u8cc7\u8a0a\uff0c\u5176\u4e2d\u300c\u516c\u53f8\u300d\u7684 email \u6211\u5c31\u63d0\u4f9b\u4e0d\u51fa\u4f86\u3002<\/p>\n<p>\u6240\u4ee5\uff0c<span class=\"highlight01\">\u65b9\u6848\u4e00\uff0c\u5931\u6557\uff01<\/span><\/p>\n<li class=\"present01\">\u65b9\u6848\u4e8c\uff1a\u5229\u7528\u793e\u7fa4\u5927\u5bb6\u91dd\u5c0d Fortinet \u958b\u767c\u7684\u9023\u7dda\u8edf\u9ad4\uff0c\u5176\u5be6\u4e0d\u96e3\uff0c\u901f\u5ea6\u4e5f\u5f88\u5feb\u3002<\/li>\n<ol>\n<li class=\"present02\">\u5148\u5b89\u88dd\u5fc5\u8981\u5957\u4ef6\uff1a<\/li>\n<pre><code>\r\n    sudo apt install openfortivpn \\\r\n         network-manager-fortisslvpn \\    ## \u6211\u4f7f\u7528 KDE \u74b0\u5883\uff0c\u6240\u4ee5\u5fc5\u88dd \r\n         network-manager-fortisslvpn-gnome  ## gnome \u74b0\u5883\u7528\uff0c\u9078\u914d\r\n    <\/code><\/pre>\n<p>    \u5957\u4ef6\u5b89\u88dd\u597d\u5f8c\uff0c\u53ef\u4ee5\u601d\u8003\u9023\u7dda\u65b9\u5f0f\u3002<\/p>\n<p>    \u9023\u7dda\u6709\u5169\u7a2e\u65b9\u5f0f\uff0c\u4e00\u662f\u76f4\u63a5<span class=\"highlight01\">\u6587\u5b57\u4ecb\u9762<\/span>\u4e0b\u547d\u4ee4\uff0c\u76f4\u63a5\u4e86\u7576\uff0c\u9019\u5f88\u7b26\u5408\u6211\u7684\u611b\u597d\u3002\u53e6\u4e00\u662f\u4f7f\u7528<span class=\"highlight01\">\u5716\u5f62\u4ecb\u9762<\/span>\uff0c\u4e5f\u5f88\u7b26\u5408\u6211\u61f6\u60f0\u500b\u6027\u3002<\/p>\n<p>    \u5047\u8a2d\u5927\u524d\u63d0\u5982\u4e0b\uff1a<br \/>\n    <span class=\"highlight02\">VPN Server ip: 192.168.100.100 <\/span><br \/>\n    <span class=\"highlight02\">\u9023\u63a5\u57e0\u70ba 10001 <\/span><br \/>\n    <span class=\"highlight02\">\u4f7f\u7528\u8005\u5e33\u865f\u70ba vpn_user01 <\/span><br \/>\n    <span class=\"highlight02\">\u5bc6\u78bc\u70ba @@123456@@ <\/span><\/p>\n<li class=\"present02\">\u6587\u5b57\u4ecb\u9762\uff1a<\/li>\n<p>    \u5148\u57f7\u884c\uff1a<br \/>\n    <code><span class=\"highlight01\">sudo openfortivpn  192.168.100.100:10001  --username=vpn_user01 --password=@@123456@@ <\/span><\/code><\/p>\n<p>    \u7136\u5f8c\uff0c\u6703\u56e0\u70ba\u7f3a\u5c11\u4fe1\u4efb\u6191\u8b49\uff0c\u6240\u4ee5\u6703\u5410\u51fa\u8a31\u591a\u932f\u8aa4\u8a0a\u606f\uff0c\u6b64\u6642\uff0c\u5c31\u5410\u51fa\u4f86\u7684\u932f\u8aa4\u8a0a\u606f\u4e2d\u53bb\u5c0b\u627e\u985e\u4f3c\u4ee5\u4e0b\u7684\u8a0a\u606f\uff1a<br \/>\n<code><span class=\"highlight01\">ERROR:      --trusted-cert a31232ac1f00251695e7af8caaea65@$#@$@$%#$^%$^#%^#%$^$%&^#^$%^#^#<\/span><\/code><\/p>\n<p>    \u9019\u4e00\u4e32\u8a0a\u606f\uff0c\u4fbf\u662f\u7cfb\u7d71\u91dd\u5c0d\u81ea\u5df1\u4e3b\u6a5f\u6240\u751f\u51fa\u4f86\u7684\u4fe1\u4efb\u6191\u8b49\uff0c\u5c31\u662f\u9023\u7dda\u6240\u9700\u8981\u7684\u95dc\u9375\u8a0a\u606f\uff0c\u8a18\u5f97\u8981\u4fdd\u5b58\u8d77\u4f86\u3002<\/p>\n<p>    \u518d\u57f7\u884c\u4e00\u6b21\uff0c\u4f46\u662f\u628a\u4fe1\u4efb\u6191\u8b49\u8a0a\u606f\u52a0\u9032\u53bb\uff1a<br \/>\n    <code><span class=\"highlight01\"> sudo openfortivpn  192.168.100.100:10001 --username=vpn_user01 --password=@@123456@@  --trusted-cert a31232ac1f00251695e7af8caaea65@$#@$@$%#$^%$^#%^#%$^$%&^#^$%^#^# <\/span><\/code><\/p>\n<p>    \u6b64\u6642\uff0c\u4fbf\u6703\u51fa\u73fe\u9023\u7dda\u6210\u529f\u7684\u8a0a\u606f\u4e86\u3002<br \/>\n    <a href=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220255.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220255-1024x582.png\" alt=\"\" width=\"530\" height=\"301\" class=\"alignnone size-large wp-image-3614\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220255-1024x582.png 1024w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220255-350x199.png 350w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220255-768x437.png 768w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220255.png 1099w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<li class=\"present02\">\u5716\u5f62\u4ecb\u9762\uff1a\u7cfb\u7d71\u8a2d\u5b9a &#8211;> \u7db2\u8def &#8211;> \u9023\u7dda<\/li>\n<p>    \u65b0\u589e&#8211;> \u9078\u64c7 FortinetSSLVPN<br \/>\n    <a href=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_225629.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_225629-1024x786.png\" alt=\"\" width=\"530\" height=\"407\" class=\"alignnone size-large wp-image-3633\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_225629-1024x786.png 1024w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_225629-350x269.png 350w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_225629-768x590.png 768w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_225629.png 1287w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>    \u57fa\u672c\u8a0a\u606f\u586b\u5b8c\u5f8c\uff0c\u9084\u6709\u300c\u9032\u968e\u300d\u8981\u8a2d\u5b9a<br \/>\n    <a href=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220946-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220946-1.png\" alt=\"\" width=\"530\" height=\"672\" class=\"alignnone size-large wp-image-3617\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220946-1.png 613w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_220946-1-276x350.png 276w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>    \u586b\u4e0a\u4fe1\u4efb\u6191\u8b49\u8a0a\u606f<br \/>\n    <a href=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221120.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221120.png\" alt=\"\" width=\"530\" height=\"672\" class=\"alignnone size-large wp-image-3616\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221120.png 613w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221120-276x350.png 276w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><\/p>\n<p>    \u8a2d\u5b9a\u5b8c\u6210\u5f8c\uff0c\u76f4\u63a5\u6309\u300c\u9023\u7dda\u300d\uff0c\u4fbf\u53ef\u4ee5\u9023 Fortinet VPN Server\uff01<br \/>\n    <a href=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221305.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221305.png\" alt=\"\" width=\"724\" height=\"722\" class=\"alignnone size-full wp-image-3615\" srcset=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221305.png 724w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221305-350x350.png 350w, https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2026\/02\/Screenshot_20260210_221305-200x200.png 200w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/a><\/p>\n<li class=\"present02\">\u7279\u5225\u6ce8\u610f<\/li>\n<p>    \u9023\u4e0a VPN Server \u5f8c\uff0c\u624b\u982d\u4e0a\u6b63\u5728\u4f5c\u696d\u6a5f\u5668\u7684\u7db2\u8def\uff0c\u6703\u5168\u90e8\u88ab\u5c0e\u5230 VPN Server\u53bb\uff0c\u539f\u5148\u5df2\u7d93\u9023\u4e0a\u7684\u7db2\u7ad9\u53ef\u80fd\u6703\u56e0\u6b64\u65b7\u7dda\uff0c\u6216\u662f\u901f\u5ea6\u5947\u6162\u7121\u6bd4\uff0c\u56e0\u6b64\uff0c\u82e5\u975e\u5fc5\u8981\uff0c\u9084\u662f\u4e0d\u8981\u9023\u4e0a\u8a72 VPN Server\u3002<\/p>\n<\/ol>\n<li class=\"present01\">\u9032\u968e\uff1a\u6539\u5584\u65b9\u6848\u4e8c\uff0c\u5229\u7528\u300c\u6587\u5b57\u4ecb\u9762\u300d\u9023\u7dda\u7684\u7f3a\u9ede<\/li>\n<p>\u5229\u7528\u300c\u6587\u5b57\u4ecb\u9762\u300d\u76f4\u63a5\u9023\u4e0a\u53bb\uff0c\u7c21\u55ae\uff0c\u76f4\u63a5\uff0c\u6709\u6548\uff0c\u662f\u4ed6\u7684\u512a\u9ede\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u7f3a\u9ede\u6709\u4ee5\u4e0b\uff1a<\/p>\n<ol class=\"lower-roman\">\n<li>\u6bcf\u6b21\u90fd\u8981\u6253\u5f88\u591a\u5b57\u3002<\/li>\n<li>\u82e5\u6709\u654f\u611f\u8cc7\u8a0a\uff0c\u5bb9\u6613\u5916\u6d29\u3002<\/li>\n<li>\u66f4\u52d5\u4e0d\u65b9\u4fbf\u3002<\/li>\n<li>\u5bc6\u78bc\u82e5\u6709\u7279\u6b8a\u5b57\u5143\uff0c\u4f8b\u5982\uff1a(, ), \u7b49\u7b49\u5b57\u5143\uff0c\u4fbf\u4e0d\u597d\u76f4\u63a5\u8f38\u5165\uff0c\u9700\u8981\u6709\u8df3\u812b\u5b57\u5143\u4f86\u8655\u7406\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>\u5982\u4f55\u6539\u5584\u7f3a\u9ede\uff1f<br \/>\n\u5728<span class=\"highlight01\"> \/etc\/openfortivpn\/ <\/span>\u76ee\u9304\u4e0b\uff0c\u5beb\u500b\u6587\u5b57\u53c3\u6578\u6a94\uff0c\u4fbf\u53ef\u89e3\u6c7a\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u5728 \/etc\/openfortivpn\/ \u76ee\u9304\u4e0b\uff0c\u5beb\u500b<span class=\"highlight01\"> aifed.conf <\/span>\u70ba\u4f8b<\/p>\n<pre><code>\r\n### configuration file for openfortivpn, see man openfortivpn(1) ###\r\nhost = 192.168.100.100\r\nport = 11111\r\nusername = vpn_user01\r\npassword =  @@123456@@ \r\ntrusted-cert = a31232ac1f00251695e7af8caaea65@$#@$@$%#$^%$^#%^#%$^$%&^#^$%^#^#\r\n\r\nset-dns = 0\r\nset-routes = 0\r\n<\/code><\/pre>\n<p>\u8981\u9023\u7dda\u6642\uff0c\u547d\u4ee4\u53ea\u8981\u4e0b<br \/>\n<span class=\"highlight01\"> sudo openfortivpn -c \/etc\/openfortivpn\/aifed.conf  <\/span><br \/>\n\u5c31\u53ef\u4ee5\u4e86\uff01<\/p>\n<p>\u800c\u4e14\uff0c\u82e5\u6709\u4e0d\u540c\u7684 VPN Server\uff0c\u4e5f\u53ef\u4ee5\u91dd\u5c0d\u500b\u5225\u4e0d\u540c\u7684 VPN Server \u9032\u884c\u8a2d\u5b9a\u8207\u9023\u7dda\u3002<\/p>\n<li class=\"present01\">\u4fee\u6b63\uff1a\u9023\u4e0a VPN Server \u5f8c\uff0c\u8b93 VPN Server \u4e0b\u4e3b\u6a5f \u4e00\u822c\u7db2\u7ad9 \u7db2\u8def\u6d41\u91cf \u5206\u6d41\uff0c\u4ee5\u6539\u5584\u7db2\u901f\u3002<\/li>\n<ol class=\"lower-roman\">\n<li>\u6a19\u6e96\u4f5c\u6cd5\uff08\u5efa\u8b70\uff09<\/li>\n<p>         <span class=\"highlight01\">sudo ip route add 192.168.100.0\/24 via 169.254.2.1 dev ppp0 <\/span><\/p>\n<p>         \u8a3b\uff1a 169.254.2.1 \u662f VPN Server \u9060\u7aefIP<\/p>\n<li>\u8fc2\u8ff4\u4f5c\u6cd5<\/li>\n<ol class=\"lower-roman\">\n<li class=\"present02\">\u5148\u56fa\u5b9a VPN \u4f3a\u670d\u5668\u8d70\u5be6\u9ad4\u7db2\u5361\u9032\u51fa(\u6b64\u8655\u70ba\u7b46\u96fb\u7121\u7dda WiFi \u7db2\u5361\uff09<\/li>\n<p>               <span class=\"highlight01\">sudo ip route add 192.168.100.100  via 192.168.3.1 dev wlp0s20f3  <\/span><\/p>\n<p>                \u8a3b\uff1a<\/p>\n<ol>\n<li>192.168.100.100 \u6c38\u9060\u8d70\u5be6\u9ad4\u7db2\u5361(\u6b64\u70ba\u7b46\u96fb\u7121\u7dda\u7db2\u5361)\uff0c\u4e0d\u8d70 ppp0 <\/li>\n<li>Wifi gateway : 192.168.3.1 <\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<li class=\"present02\">\u518d\u52a0\u5167\u7db2\u8def\u7531<\/li>\n<p>               <span class=\"highlight01\">sudo ip route add 192.168.100.0\/24 dev ppp0  <\/span>\n        <\/ol>\n<p>       \u4ee5\u4e0a\u5169\u500b\u52d5\u4f5c\u76ee\u7684\uff1a<\/p>\n<ol>\n<li>192.168.100.100  &#8211;> WiFi(\u5f37\u8feb\u8d70\u9019\u689d\u8def)<\/li>\n<li>192.168.100.0\/24 &#8211;> ppp0<\/li>\n<\/ol>\n<\/ol>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>\u7e3d\u7d50<\/h3>\n<ol>\n<li>\u8a2d\u5b9a\u597d \/etc\/openfortivpn\/aifed.conf \u6a94\u6848\u3002<\/li>\n<li>\u5148\u9023\u7dda\uff1asudo openfortivpn -c \/etc\/openfortivpn\/aifed.conf <\/li>\n<li>\u518d\u5206\u6d41\uff1asudo ip route add 192.168.100.0\/24 via 169.254.2.1 dev ppp0 <\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u53ea\u8981\u5148\u8a2d\u5b9a\u597d \/etc\/openfortivpn\/aifed.conf \u6a94\u6848\uff0c\u518d\u4e0b <a class=\"more-link\" href=\"https:\/\/yowlab.idv.tw\/wordpress\/?p=3611\">Continue reading <span class=\"screen-reader-text\">  Linux \u74b0\u5883\u4e0b \u9023\u7dda Fortinet VPN Server<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[129],"class_list":["post-3611","post","type-post","status-publish","format-standard","hentry","category-3","tag-fortinet-vpn"],"_links":{"self":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3611"}],"version-history":[{"count":47,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3611\/revisions"}],"predecessor-version":[{"id":3665,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3611\/revisions\/3665"}],"wp:attachment":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}