这里会显示出您选择的修订版和当前版本之间的差别。
freebsd:network:tinc [2013/11/26 16:21] Hshh 创建 |
freebsd:network:tinc [2013/11/26 16:23] Hshh add NAT |
||
---|---|---|---|
行 40: | 行 40: | ||
__复制 client 端的 etc/ | __复制 client 端的 etc/ | ||
- | |||
- | |||
==== 客户端 ==== | ==== 客户端 ==== | ||
行 72: | 行 70: | ||
</ | </ | ||
+ | ==== NAT ==== | ||
+ | pf.conf | ||
+ | < | ||
+ | scrub all no-df random-id fragment reassemble | ||
+ | nat on $ext_if from { 10.255.1/24 } to any -> ($ext_if) | ||
+ | </ | ||
==== 启动 ==== | ==== 启动 ==== |