中尉
- 注册时间
- 2016-1-6
- 金币
- 493 个
- 威望
- 0 个
- 荣誉
- 0 个
累计签到:35 天 连续签到:0 天 [LV.50]初入江湖
|
ip upnp set enabled=yes0 n1 x4 M9 b+ b/ N' @- B$ Z
ip upnp interfaces add interface=pppoe-out1 type=external disabled=no * v$ v9 L0 Z/ u8 l; n2 Z% K( ~
ip upnp interfaces add interface=bridge-local type=internal disabled=no
5 s" B) B3 p3 L/ @1 d
4 I/ E$ S$ u$ ~启动支持UPNP的软件进行测试,如迅雷:ip firewall nat print all " J/ r3 J& l2 t
chain=srcnat action=masquerade out-interface=pppoe-out1
8 a9 b" @9 N# g' e. c" a& [1 a* H I# Gchain=dstnat action=dst-nat to-addresses=192.168.1.250 to-ports=41019 protocol=tcp\
( g/ H$ |/ S% Y; h* qdst-address=8.8.8.8 dst-port=41019 6 i5 H! ]. g& _
chain=dstnat action=dst-nat to-addresses=192.168.1.250 to-ports=64677 protocol=udp\1 u9 |, S* j1 X
dst-address=8.8.8.8 dst-port=410196 q: @% X2 b( p, Q. g
1 m& K$ E8 k& T
|
|