How do small business formation sites quickly publish to the Internet?

Source: Internet
Author: User


How does a small Business new website intranet device publish to Internet access? 
Recently, the company's development department has set up 1 Web servers, need to publish to the Internet, that is, can be accessed through the Internet; The OPS department needs to S5700 the intranet switch to remote access, that is, to access the intranet switch via remote Telnet.
The company's newly formed network topology is as follows:





Among them R1, SW1, Server1 for intranet server, export IP address 100.1.1.1/24, Gateway 100.1.1.2,R2, SW2, Client1 for internet equipment.



The first step
The intranet device configuration is as follows:
R1 Configuration
[R1]interface G0/0/1
[R1-gigabitethernet0/0/1]ip address 192.168.1.254 #内网地址配置
R1]interface g0/0/0
[R1-gigabitethernet0/0/0]ip address 100.1.1.1 #外网接口配置
SW1 Configuration
[Sw1]interface vlanif 1
[Sw1-vlanif1]ip Address 192.168.1.100 24
Server1 Configuration



Internal network by configuration
R1 Configuration
[R1]ip route-static 0.0.0.0 0.0.0.0 100.1.1.2
SW1 Configuration
[Sw1]ip route-static 0.0.0.0 0.0.0.0 192.168.1.254
Switch User name password configuration
[Sw1]user-interface vty 0 4
[Sw1-ui-vty0-4]authentication-mode AAA
[Sw1-aaa]local-user CTO Password cipher 123
[Sw1-aaa]local-user CTO Privilege Level 15



The intranet device configuration is as follows:
R2 Configuration
[R2]interface g0/0/0
[R2-gigabitethernet0/0/0]ip Address 100.1.1.2 24
[R2]interface G0/0/1
[R2-gigabitethernet0/0/1]ip Address 100.2.2.254 24
CLIENT1 Configuration



Step Two
Configure the router with Internal server static port mappings.
[R1-gigabitethernet0/0/0]nat Static protocol TCP global Current-interface 8080 inside 192.168.1.1 #配置web服务器端口映射
[R1-gigabitethernet0/0/0]nat Static Protocol TCP global Current-interface 6060 inside 192.168.1.100 telnet #配置交换机端口映射
[R1-gigabitethernet0/0/0]nat Static Enable #启用静态映射



Step Three
Access the Web server's publishing situation by http://server extranet IP address port number:

Access SUCCESS!!!!!
Through the external network to verify the release of the device, using Telnet remote management command, enter the user name CTO, password 123, remote login success, as follows:

LOGIN SUCCESSFUL!!!!!
Through the above configuration, you can enable intranet server to access through external network, but also can realize the remote management of Local intranet devices. Done......



How do small business formation sites quickly publish to the Internet?


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.