Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
zh:docs:guide-user:services:vpn:wireguard:server [2022/05/27 03:23] – [Testing] yodozh:docs:guide-user:services:vpn:wireguard:server [2023/01/17 04:26] – [WireGuard server] update infobox vgaetera
Line 2: Line 2:
  
 ====== WireGuard server ====== ====== WireGuard server ======
-{{section>meta:infobox:howto_links#cli_skills&noheader&nofooter&noeditbutton}}+{{section>meta:infobox:howto_links#basic_skills&noheader&nofooter&noeditbutton}}
  
 ===== Introduction ===== ===== Introduction =====
Line 8: Line 8:
   * Follow [[docs:guide-user:services:vpn:wireguard:client|WireGuard client]] for client setup and [[docs:guide-user:services:vpn:wireguard:extras|WireGuard extras]] for additional tuning.   * Follow [[docs:guide-user:services:vpn:wireguard:client|WireGuard client]] for client setup and [[docs:guide-user:services:vpn:wireguard:extras|WireGuard extras]] for additional tuning.
  
-===== Goals ===== +===== 目标 ===== 
-  * Encrypt your internet connection to enforce security and privacy. +  * 加密您的互联网连接以加强安全和隐私。 
-    * Prevent data leak and traffic spoofing on the client side. +    * 防止客户端的数据泄露和流量欺骗。 
-  * Bypass regional restrictions using commercial providers. +  * 使用商业vpn服务绕过区域限制。 
-    * Escape client side content filters and internet censorship. +    * 规避客户端内容过滤和互联网审查。 
-  * Access your LAN services remotely without port forwarding. +  * 更方便地远程访问您的局域网服务(无需端口转发)。
 ===== Command-line instructions ===== ===== Command-line instructions =====
 ==== 1. Preparation ==== ==== 1. Preparation ====
Line 98: Line 97:
 </code> </code>
  
-===== Testing =====+===== 测试 =====
 建立 VPN 连接。 建立 VPN 连接。
 使用 [[man>traceroute(8)|traceroute]] 和 [[man>traceroute6(8)|traceroute6]] 命令确认流量是否通过VPN网关. 使用 [[man>traceroute(8)|traceroute]] 和 [[man>traceroute6(8)|traceroute6]] 命令确认流量是否通过VPN网关.
Line 126: Line 125:
 pgrep -f -a wg; wg show; wg showconf vpn pgrep -f -a wg; wg show; wg showconf vpn
 ip address show; ip route show table all ip address show; ip route show table all
-ip rule show; iptables-save -c +ip rule show; ip -6 rule show; nft list ruleset
-ip -6 rule show; ip6tables-save -c+
  
 # Persistent configuration # Persistent configuration
  • Last modified: 2023/09/09 10:58
  • by vgaetera