Cisco Cheatsheet

Useful things to know for managing Cisco devices

Published Feb 12, 2015 |
Scroll

Port-Forwarding / Inbound NAT

Port forward TCP 80 on WAN address x.x.x.x to 192.168.0.50:80:

ip nat inside source static tcp 192.168.0.50 8080 x.x.x.x 80 extendable

Port-Forwarding / Inbound NAT for a range of ports

Port forward UDP 10000:20000 to 192.168.0.50:

ip nat pool PORTFWD 192.168.0.50 192.168.0.50 netmask 255.255.255.0 type rotary
access-list 100 permit udp any any range 10000 20000
ip nat inside destination list 100 pool PORTFWD

Revert changes

Revert running config to the startup config, without reloading:

configure replace nvram:startup-config

RTFM

The Exim Home Page

Next up

Active Directory DC on Debian / Samba 4

Cheat sheet guide to provisioning an Active Directory Domain Controller with Samba 4 on Debian

Published Dec 1, 2014 |