Redirecting port requests
2009-05-13 13:17:15来源:未知 阅读 ()
The www uses the
http
protocol. I run MS FrontPage 98 on NT1. I wanted to redirect http requests from the gateway machine to the web server on NT1. It was pretty easy, but a few hurdles along the way.
Please note, that this was for my testing and education only. I don't intend to continue to redirect such requests. But I wanted to try it. Just to see. Eventually, I plan to add http to my gateway machine as yet another place to publish my webpage.
Looking at the
natd manual
, it shows that redirect_port is the command line option to use. I added the following line to my natd.conf file. Please note, the IP address has been changed for security reasons.
redirect_port tcp 111.222.333.444:80
redirect_port ucp 111.222.333.444:80
And I tried to access the page from my own subnet. But I couldn't. So I jumped on efnet #freebsd to verify my solution. I received confirmation that what I was doing was correct. And to as a test, it was suggested that I get an external shell and try that. External shell? What's that?
In the end, my helper asked for the URL and they tried it. No luck.
Brain wave!
Filter rules.... kill the filter rules. I cleared out the filter rules and asked him to try again. This time, success!
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_523242.html
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- FreeBSD下nginx+fast-cgi+mysql+zend的实现 2009-05-13
- virtualbox for freeBSD 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash