中尉
- 注册时间
- 2016-1-6
- 金币
- 493 个
- 威望
- 0 个
- 荣誉
- 0 个
累计签到:35 天 连续签到:0 天 [LV.50]初入江湖
|
发表于 2016-9-14 17:41
ip upnp set enabled=yes, r% o" F$ B, X" h8 ?
ip upnp interfaces add interface=pppoe-out1 type=external disabled=no # u- b9 l6 K r( Q3 s; Z
ip upnp interfaces add interface=bridge-local type=internal disabled=no
+ M T1 W0 ?) B, m+ ]
* m. n6 G* k8 i- D- v" T6 H7 V启动支持UPNP的软件进行测试,如迅雷:ip firewall nat print all
9 ?" S2 W& T4 \( uchain=srcnat action=masquerade out-interface=pppoe-out1 ( G/ I# I; {6 E7 \: \
chain=dstnat action=dst-nat to-addresses=192.168.1.250 to-ports=41019 protocol=tcp\" t; p, k6 \' V/ f" n: d/ b9 v
dst-address=8.8.8.8 dst-port=41019
0 M6 K, N$ M/ l* Echain=dstnat action=dst-nat to-addresses=192.168.1.250 to-ports=64677 protocol=udp\ g: F% l, p* l; H
dst-address=8.8.8.8 dst-port=410193 f( j" o9 l0 Y5 |/ c
$ o; L+ g9 W: i4 H |
|