In the ADSL network environment, when friends who use H3C do port mapping, if they use the web interface configuration, turn on nat, select the internal server, select eth0/0, protocol and tcp for the interface connected to the wan port, select the current interface ip(adsl dialing, no fixed ip) for the external address, and fill in the internal address 192. 168. * * The internal port has also been confirmed. Then found that the external network address is 0.0.0.0.
Although adsl dial-up is connected to eth0/0, it uses virtual dial-up. But there is no virtual dial-up interface in the interface option. What should I do? I have to use orders. Well, how do you write this order?
First enter telnet, first look at the interface of virtual dialing, and then enter the system view.
[h3c]dis ip int b (view the status of each port)
Find a port of dialerX (X stands for a numerical value). Take the dialer 1 1 for example.
That is, the dialer 1 1 is a virtual dialing interface. Ok, let's enter this interface view, enter.
[h3c]int dialer 1 1
[h3c- dialer 1 1]
Now you can enter the command of port mapping: NAT server protocol TCP global current-interface 1433 (which can be changed to actual port number) internal192.168.0.21433.
Thus, the 192. 168.0.2 port of the intranet machine is mapped.