1. What is DD-WRT?
For the sake of respect, it is necessary to give a brief introduction to the predecessor of the DD-WRT, The DD-WRT is a "third-party" firmware, used for Linksys WRT54G/GS/GL or other 802.11g wireless routers based on the Broadcom reference design. Because these routers use the Linux operating system, the manufacturer has released the source code of these firmware based on the GPL terms.
The first version of DD-WRT was developed based on alchemy of sveasoft Inc, And now uses th
current extranet address is the address of the VPN server. If your external network is using dynamic IP, you need to set up DDNS (dynamic Domain name resolution Service).
If your external network is using dynamic IP, you need to set up DDNS (dynamic Domain name resolution Service).
DDNS can bind any transformed IP address to a fixed level two domai
, is the napt to penetrate, mainly for the UDP protocol. TCP protocols are also possible, but the feasibility is very small and requires a higher demand. Moreover, the Voice video communication is transmitted by UDP, so the NAT penetration for TCP is not discussed here. The underlying NAT does not modify the port number of the packets that are passed, and they can be viewed as a condensed version of a fully conical NAT, which can also be penetrated by the underlying NAT. The NAT device will turn
A vro serves as the egress for communication between the entire network and the outside world and serves as a bridge connecting internal subnets. In the process of establishing a network, the purchase of a router is extremely important. Among all network devices, the price of routers is also very expensive, and it is the first scene of network equipment. Not like some Nic and hub functions and features
Similar performance, and the price is basically the same, users do not have to worry about
packet, the middle through the N routes, The unicast packet enters the R1 smoothly;
2. When R1 detects that the packet port number is 9, the destination IP and port number of the packet is modified to 192.168.1.255:168 according to the port mapping entry, at which point the packet is R1 recognized as a directed broadcast packet because R1 has been set to allow subnet directed broadcasts, so the packet was not discarded;
3.R1 the broadcast packet to 4-port broadcast, S1,S2,S3,S4 all the ports
enterprise that set up a public server for external users to access. However, the popularization of information so that small and medium-sized enterprises may also set up different public servers to external users. For example, figure File Exchange, technical update information, report payment, etc. can be achieved by setting up a public server.
To provide an open service, an enterprise must have a fixed address for Internet users to establish in the server address bar. The general approach is
higher the price. Therefore, you should make a targeted purchase, try to avoid idle functions that are purchased at a high price. Commonly used functions include packet filtering, including port filtering, IP address filtering, MAC address filtering, and keyword filtering. This allows you to flexibly set router analysis and determine whether incoming and outgoing packets pass or are rejected; A virtual server that allows Internet users to access WWW and FTP servers and other specific servers in
.
The current Broadband Router has many rich functions, such as DDNS, NAT, and VPN. For some different users, these terms are just confusing. All the features of the Broadband Router must be clear before you can purchase them clearly. Otherwise, the purchased vro cannot meet the needs of the network, or the vro purchased at a high price has unnecessary high performance and functions. Therefore, it is enough to make the purchase. Of course, you need to
different IP users into different groups and name them. Through group management, all-round control functions can be achieved at one time. You can also avoid security vulnerabilities due to missing configurations.
3. Build an internal public server
In the past, only a large enterprise may have set up a public server for external users to access. However, the popularization of information technology makes it possible for small and medium-sized enterprises to set up different public servers for e
of DDNS allows enterprises to use dynamic IP addresses. Even if ADSL is used to obtain Dynamic IP addresses, users can access the server by memorizing domain names. Qno xiaonuo also introduced the dynamic domain name DDNS service to enterprise users. The test is currently underway and will be available to Qno xiaonuo users in the near future. Please wait and see.The following describes the configurations o
-lease-time (unit: seconds by default ):
The user's computer requires a lease time of a specific length. However, if the user does not require a lease time in particular, this is the default lease time.
Max-lease-time:
This setting value is the maximum lease time that the user can require. That is to say, if the lease time required by the user exceeds the set value, the value prevails;
Option domain-name "domain name ":
If you set a search google.com in/etc/resolv. conf, this means that when y
, traffic monitoring, and network address translation.Another, the benefit of transferring the DHCP service to a dedicated server, later on, is that it can establish a dynamic Domain name server (DDNS) so that when the host requests a DHCP address from the server, the host name of the new host is added to the DNS system.Installing and configuring the ISCDHCP server1. Use the APT tool to install the ISC software in the Debian repository to create this
startup, you need to set up a static address assignment in the DHCP server, that is, 50-e5-60-ca-1a-4a statically assign 192.168.1.250 this IP address for MAC address, and never expire.
vi. using Dynamic DNS features
Use dynamic DNS on routers so that you can use a domain name to access without having to view frequently changing public-network IP (ADSL dial-up IP is often changed). At the same time, allowing routers to do unwarranted web management is convenient when we can check the state of
Special Shell variables1. Environment variables:An environment variable is a class of variables that the system itself needs to be created in advance by the LIUNX system.Mainly used for the user's working environment, including (user's host directory, command lookup path, user's current directory, landing terminal, etc.) the value of the environment variable is maintained by the operating system itself, and changes with the user's state.Env Tune Current environment variable[[Email protected] ~]#
First, System variablesPerform an env, set view system, or environment variable directly at the command line prompt. ENV displays user environment variables, set shows the shell predefined variables and user variables. Can be exported to user variables through export.[[emailprotected] ~]# envxdg_session_id=1hostname=leoselinux_role_requested=term=xtermshell=/bin/ bashhistsize=1000ssh_client=192.168.116.1 61498 22selinux_use_current_range=ssh_tty=/dev/pts/0user=rootls_colors =rs=0:di=01;34:ln=01;
not print anything, only returns an exit statusExportFormat: Export [-fnp][variable name]=[variable setting value]Purpose: Set Environment variablesParameters-F represents the function name in [variable name].-n Deletes the specified variable. The variables are not actually deleted, but are not exported to the execution environment of the subsequent directives.-p lists all the environment variables that the shell assigns to the program.Instance[Email protected] ~]# exportDeclare-x histcontrol=
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.