It is possible to configure your router via a web browser. Although it’s disabled by default, your router has its own mini HTTP server built in. This provides another way to gain access to the router for the purpose of issuing commands. To enable the HTTP server, you have to use the command "ip http server" from the global configuration mode.
cisco(config)#
ip http servercisco(config)#
Then open a web browser and point it to one of your router’s IP addresses. The interface is not really nice, but you can issue commands using hyperlinks.
For security reasons I still suggest that you keep the HTTP server turned off, since it offers just another point of access for potential hacking.
What is so bad about the command line? Configuring port forwarding is actually pretty easy, once you know the commands.
Type
show ip interface to find the name of the interface you want to set port forwarding for.
The
show ip nat translations command shows you the current port forwards on Router.
Type
configure to enter the configuration mode
The command for port forwarding is:
ip nat inside source static (TCPorUDP) (YourComputersIP) (PortToForward) interface (name)(PortToForward)
in you case:
ip nat inside source static tcp 192.168.0.1 5900 interface (name) 5900
and
ip nat inside source static tcp 192.168.0.2 5901 interface (name) 5901
replace (name) with the interface name you got from the first command.
Then press CTRL-Z to end the Configure Session
Type
copy run start once you tested your settings and press ENTER for the question
Destination filename [startup-config]?
I have heard of some commercial tools that let you configure your router via web interface, but they are very expensive (around 1400$).
You can try it out for 14 days. Go
here.
If you want to play with a free one, go to Cisco (
link) and check it out.
(You have to be a member though.)
If you have any more questions, just come back here and leave a comment - I'm happy to help.
Hello I want to configure my DI524 as NAT and also port forwarding .Please provide me the solution.
Shahnur
[email protected]
×