免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2597 | 回复: 4
打印 上一主题 下一主题

[FreeBSD] Can't open http port on freebsd firewall ????????? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-22 17:24 |只看该作者 |倒序浏览
hi , all
I just follow the instruction on

http://www.chinaunix.net/cgi-bin/bbs/topic.cgi?forum=2&topic=327

in /etc/ipfw.conf
add 10001 allow tcp from any to x.x.x.x 80 in     //向整个Internet开放HTTP服务。

in /etc/natd.conf

redirect_port tcp 192.168.0.2:80 x.x.x.x:80     //把对服务器IP为x.x.x.x的http访问转到192.168.0.2的80上去。

But I am still unable to enable the http service on my freebsd ipfw.

WHy ?? Can you help me to solve this problem???

I am using freebsd 4.7 ....

Thanks!!

论坛徽章:
0
2 [报告]
发表于 2003-01-22 17:33 |只看该作者

Can't open http port on freebsd firewall ?????????

把192.168.0.2换成inetnet的地址

论坛徽章:
0
3 [报告]
发表于 2003-01-22 17:45 |只看该作者

Can't open http port on freebsd firewall ?????????

hi,
I just put my interanl webserver ip address in

redirect_port tcp internalwebip:80 firewallip:80

but the problem is .

The http port on firewall was blocked.

but the firewall is listening the http

firewall# netstat -na |grep LIST
tcp46      0      0  *.80                   *.*                    LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp46      0      0  *.22                   *.*                    LISTEN

so what's the problem ??

论坛徽章:
0
4 [报告]
发表于 2003-01-22 17:51 |只看该作者

Can't open http port on freebsd firewall ?????????

你上面只是把192.168.0.2这个地址上的80端口映射到其他机器了,而来自internet的对80的访问都被block住了。

论坛徽章:
0
5 [报告]
发表于 2003-01-23 14:28 |只看该作者

Can't open http port on freebsd firewall ?????????

hi,
How can I solve my problem ? How can I open my http port on my firewall ??
Thanks !
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP