怎么通过ROUTER发布自己的WEBSITE呢?

由 bosskey 在 09-19-2003 18:44 发表:

怎么通过ROUTER发布自己的WEBSITE呢?

先说说我们家上网的情况,我们家用一台PLANET的ROUTER联接有线MODEM共享上网,一共拖了四台电脑,我用APACHE+PHP+MYSQL建立了一个坛论,在别人的机子上直接输入我的内网IP: http://192.168.0.23 就直接可以上我自建的网站。

可是要如何联接到外部,让外部的人也能看我的网站呢?

我看过ROUTER的设置,里面有个Virtual Servers选项,

Virtual Servers and Special Application

If you configure the gateway as a virtual server, remote users accessing services such as Web or FTP at your local site via public IP addresses can be automatically redirected to local servers configured with private IP address. In other words, depending on the requested service (TCP/UDP port number), the gateway redirects the external service request to the appropriate server.

You can define up to 10 application profiles and If you had set many WAN Alias IP's, select one of the public IP's as the Virtual Server. Some applications require multiple connections, such as Internet gaming, video conferencing, Internet telephony and others. These applications cannot work when Network Address Translation (NAT) is enabled. If you need to run applications that require multiple connections, enter the service ports associated with an application.

我将1-170的prot都联接到我的内网IP:192.168.0.23上了。

而这个ROUTER的wan地址如下:

IP Address : 218.186.102.11

Subnet Mask : 255.255.240.0

Default Gateway : 218.186.96.1

DNS : 202.156.1.58

请问我要如何才能让外部的人能看我内建的WEBSITE呢?盼请指教,不胜感谢!


卑鄙是卑鄙者的通行证,高尚是高尚者的墓志铭


由 Glue 在 09-19-2003 19:03 发表:


设置好了的话 http://218.186.102.11/ 就是你的website了。

不过从IP来看你用的SCV,据我所知,端口80是被SCV屏蔽了的。

所以你只能选用其他的端口,比如

http://218.186.102.11:8888/

并把8888映射到内部的80端口上。


-_-


由 bosskey 在 09-19-2003 19:47 发表:

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus