Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
zh:docs:guide-user:services:vpn:wireguard:server [2022/05/27 03:13] – created 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 107: Line 106:
 </code> </code>
  
-Check your client public IP addresses.+检查客户端IP地址.
   * [[https://ipleak.net/]]   * [[https://ipleak.net/]]
-Make sure there is no DNS leak on the client side.+请确保客户端没有DNS泄露(DNS leak)发生。
   * [[https://dnsleaktest.com/]]   * [[https://dnsleaktest.com/]]
-Delegate a public IPv6 prefix to the VPN network to use IPv6 by default.+如果使用IPv6,需将公共IPv6前缀委派给VPN网络作为默认配置。
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
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