免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: 1soft
打印 上一主题 下一主题

[OpenBSD] 内网不能用迅雷,被PF防火墙拦了,怎么设置为内网可以使用迅雷呢 [复制链接]

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
11 [报告]
发表于 2007-09-25 16:04 |只看该作者
那自己抓包分析.

论坛徽章:
0
12 [报告]
发表于 2007-09-25 21:07 |只看该作者
你直接抓包分析省心

论坛徽章:
0
13 [报告]
发表于 2007-09-28 18:49 |只看该作者
现在可以了,规矩这样的

ext_if="em0"
int_if="fxp0"
nat on $ext_if from $int_if:network to any -> $ext_if
rdr pass on $ext_if proto tcp from any to $ext_if port 1723 -> 192.168.0.31 port 1723
rdr pass on $ext_if proto 47 from any to $ext_if -> 192.168.0.31
rdr on $ext_if proto tcp from any to $ext_if port 10671 -> 192.168.0.31 port 10671
rdr on $ext_if proto tcp from any to $ext_if port 19777 -> 192.168.0.31 port 19777
rdr on $ext_if proto tcp from any to $ext_if port 3210 -> 192.168.0.31 port 3210
rdr on $ext_if proto tcp from any to $ext_if port 3214 -> 192.168.0.31 port 3214
rdr on $ext_if proto tcp from any to $ext_if port 31 -> 192.168.0.31 port 31

rdr on $ext_if proto tcp from any to $ext_if port 25087 -> 192.168.0.31 port 25087
rdr on $ext_if proto tcp from any to $ext_if port 31625 -> 192.168.0.31 port 31625
rdr on $ext_if proto tcp from any to $ext_if port 6112 -> 192.168.0.31 port 6112
rdr on $ext_if proto udp from any to $ext_if port 53 -> 192.168.0.31 port 53
rdr on $ext_if proto tcp from any to $ext_if port 5200 -> 192.168.0.31 port 5200
rdr on $ext_if proto tcp from any to $ext_if port 6200 -> 192.168.0.31 port 6200

rdr on $ext_if proto tcp from any to any port 3076 ->192.168.0.31 port 3076


rdr on $ext_if proto udp from any to $ext_if port 8000 -> 192.168.0.31 port 8000
rdr on $ext_if proto tcp from any to $ext_if port 6643 -> 192.168.0.31 port 6643
rdr on $ext_if proto udp from any to $ext_if port 6653 -> 192.168.0.31 port 6653
rdr on $ext_if proto udp from any to $ext_if port 15000 -> 192.168.0.31 port 15000
rdr on $ext_if proto tcp from any to $ext_if port 22812 -> 192.168.0.31 port 22812
rdr on $ext_if proto tcp from any to $ext_if port 23888 -> 192.168.0.31 port 23888
pass out quick on $int_if from any to any keep state
pass out on $ext_if proto udp all keep state
pass on $int_if proto 47 from any to any  keep state
pass in quick on $ext_if proto tcp from any to any keep state
pass in quick on $int_if from $int_if:network to any keep state
pass in all
pass out all
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP