{"id":72,"date":"2016-09-23T22:47:53","date_gmt":"2016-09-23T14:47:53","guid":{"rendered":"http:\/\/xlight.me\/blog\/?p=72"},"modified":"2017-01-17T08:59:15","modified_gmt":"2017-01-17T00:59:15","slug":"tp-link-wr703n%e5%88%b7openwrt%ef%bc%8c%e5%8a%a0u%e7%9b%98%ef%bc%8cvp%e4%b8%8a%e7%bd%91","status":"publish","type":"post","link":"https:\/\/xlight.me\/blog\/2016\/09\/tp-link-wr703n%e5%88%b7openwrt%ef%bc%8c%e5%8a%a0u%e7%9b%98%ef%bc%8cvp%e4%b8%8a%e7%bd%91\/","title":{"rendered":"TP-Link wr703n\u5237openwrt\uff0c\u52a0u\u76d8\uff0cvpn\u4e0a\u7f51"},"content":{"rendered":"<p>1. opkg\u5b89\u88c5\u9700\u8981\u7684\u5305<\/p>\n<pre class=\"brush:shell\">opkg install kmod-usb-storage kmod-scsi-generic block-mount kmod-fs-ext4 kmod-nls-utf8 kmod-fs-vfat<\/pre>\n<p>2. \u7f16\u8f91fstab\u6dfb\u52a0\u81ea\u52a8mount\u4e0au\u76d8<br \/>\nvi \/etc\/config\/fstab<\/p>\n<pre class=\"brush:php\">config 'mount'\r\noption 'device' '\/dev\/sda1'\r\noption 'options' 'rw,sync'\r\noption 'enabled_fsck' '0'\r\noption 'enabled' '1'\r\noption 'target' '\/mnt\/share'<\/pre>\n<p>3. \u5148\u624b\u5de5mount\u4e0au\u76d8<br \/>\nmount \/dev\/sda1 \/opt<\/p>\n<p>4. \u914d\u7f6eopkg\uff0c\u5141\u8bb8\u5411u\u76d8\u5b89\u88c5<br \/>\nvi \/etc\/opkg.conf<\/p>\n<pre class=\"brush:php\">dest opt \/opt<\/pre>\n<p>5. \u5b89\u88c5openvpn\u5230u\u76d8<\/p>\n<pre class=\"brush:shell\">opkg install openvpn -d opt<\/pre>\n<p>6. \u5c06openvpn\u7684\u914d\u7f6escp\u8fdb\u53bb<\/p>\n<p>7. \u5199\u4e2a\u81ea\u52a8\u542f\u52a8openvpn\u7684\u811a\u672c<\/p>\n<p>*. \u6dfb\u52a0autoddvpn\u7684\u914d\u7f6e\uff0c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. opkg\u5b89\u88c5\u9700\u8981\u7684\u5305 opkg install kmod-usb-storage kmod-scsi-generic block-mount kmod-fs-ext4 kmod-nls-utf8 kmod-fs-vfat 2. \u7f16\u8f91fstab\u6dfb\u52a0\u81ea\u52a8mount\u4e0au\u76d8 vi \/etc\/config\/fstab config &#8216;mount&#8217; option &#8216;device&#8217; &#8216;\/dev\/sda1&#8217; option &#8216;options&#8217; &#8216;rw,sync&#8217; option &#8216;enabled_fsck&#8217; &#8216;0&#8217; option &#8216;enabled&#8217; &#8216;1&#8217; option &#8216;target&#8217; &#8216;\/mnt\/share&#8217; 3. \u5148\u624b\u5de5mount\u4e0au\u76d8 mount \/dev\/sda1 \/opt 4. \u914d\u7f6eopkg\uff0c\u5141\u8bb8\u5411u\u76d8\u5b89\u88c5 vi \/etc\/opkg.conf dest opt \/opt 5. \u5b89\u88c5openvpn\u5230u\u76d8 opkg install openvpn -d opt 6. \u5c06openvpn\u7684\u914d\u7f6escp\u8fdb\u53bb 7. \u5199\u4e2a\u81ea\u52a8\u542f\u52a8openvpn\u7684\u811a\u672c *&#8230;. <\/p>\n<div class=\"read-more\"><a href=\"https:\/\/xlight.me\/blog\/2016\/09\/tp-link-wr703n%e5%88%b7openwrt%ef%bc%8c%e5%8a%a0u%e7%9b%98%ef%bc%8cvp%e4%b8%8a%e7%bd%91\/\">Read More<\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":8,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions\/199"}],"wp:attachment":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}