Cisco 800 series: Difference between revisions

From NURDspace
(Created page with "Our main router for internet access is a [http://www.cisco.com/en/US/products/hw/routers/ps380/index.html Cisco 800 series].")
 
No edit summary
Line 1: Line 1:
= Description =
Our main router for internet access is a [http://www.cisco.com/en/US/products/hw/routers/ps380/index.html Cisco 800 series].
Our main router for internet access is a [http://www.cisco.com/en/US/products/hw/routers/ps380/index.html Cisco 800 series].
= Port forwarding howto =
Log in with root on 192.168.1.1
enable
show config
Currently forwarded ports are listed in the lines beginning with "ip nat inside source static"
config terminal
Now add a new line similar to the existing ones, for example:
ip nat inside source static tcp <internal ip> <internal port> <external ip> <external port> extendable
<enter>
<ctrl>+z
write memory
Check your result with
show config
= Remove existing port forwarding rules =
Copy a rule from "show config" and paste "no" in front of it.

Revision as of 20:06, 27 April 2013

Description

Our main router for internet access is a Cisco 800 series.

Port forwarding howto

Log in with root on 192.168.1.1

enable
show config

Currently forwarded ports are listed in the lines beginning with "ip nat inside source static"

config terminal

Now add a new line similar to the existing ones, for example:

ip nat inside source static tcp <internal ip> <internal port> <external ip> <external port> extendable
<enter>
<ctrl>+z
write memory

Check your result with

show config

Remove existing port forwarding rules

Copy a rule from "show config" and paste "no" in front of it.