用户工具

站点工具


freebsd:tinc

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
freebsd:network:tinc [2013/11/26 16:21] – 创建 Hshhfreebsd:tinc [2021/08/18 11:13] (当前版本) – [启动] Hshh
行 40: 行 40:
  
 __复制 client 端的 etc/tinc/hosts/client 到 etc/tinc/hosts/, 该步骤可以先配置客户端后再完成.__ __复制 client 端的 etc/tinc/hosts/client 到 etc/tinc/hosts/, 该步骤可以先配置客户端后再完成.__
- 
- 
  
 ==== 客户端 ==== ==== 客户端 ====
行 72: 行 70:
 </code> </code>
  
 +==== NAT ====
  
 +pf.conf
 +<code>
 +scrub all no-df random-id fragment reassemble
 +nat on $ext_if from { 10.255.1/24 } to any -> ($ext_if)
 +</code>
  
 ==== 启动 ==== ==== 启动 ====
行 80: 行 84:
 调试可采用 tincd -D -d3 或 tincd -D -d4 调试可采用 tincd -D -d3 或 tincd -D -d4
  
-{{:freebsd:network:tincd|FreeBSD Tincd rc.d 启动脚本}}+{{:freebsd:tincd|FreeBSD tincd rc.d 启动脚本}}
  
 {{tag>freebsd tinc vpn}} {{tag>freebsd tinc vpn}}
freebsd/tinc.txt · 最后更改: 2021/08/18 11:13 由 Hshh