Ask the Cisco Kid! Your one stop for all the networking help you need.

19Mar/100

Activate ASDM as GUI Interface for Cisco ASA/PIX Firewall

pixfirewall> enable
Password:
pixfirewall# configure terminal
pixfirewall(Config)# interface ethernet1
pixfirewall(Config-if)# nameif inside
pixfirewall(Config-if)# ip address 192.168.1.1 255.255.255.0
pixfirewall(Config-if)# no shutdown
pixfirewall(Config-if)#

Activate ASDM and enable http server.

pixfirewall(Config)# asdm image flash:/asdm.bin.
pixfirewall(Config)# http server enable.

Open a connection for your PC. Example your pc IP address is 192.168.1.2

pixfirewall(Config)# http 192.168.1.2 255.255.255.255 inside

Make sure all your config running properly.

pixfirewall(Config)# show running http
http server enabled
http 192.168.1.2 255.255.255.255 inside
pixfirewall(Config)#

Now your Cisco ASA/PIX can be access from your PC.
Make sure your PC and Firewall has connected and open your web browser then enter this address
https://192.168.1.1/admin

Filed under: ASA, Firewalls No Comments
3Dec/090

Port Forwarding ASA 5505 (Static NAT)

For those of you searching the Internet to try and find a good or simple example of how port forwarding is done on a Cisco ASA 5505 firewall.

This post contains a working example of a port forwarding configuration on a Cisco ASA 5505 that's allowing RDP, TCP port 3389, through the firewall to from the Internet to the LAN side to a server. For new users to the ASA, how to configure a port forwarding rule on a Cisco ASA 5505 can be a more easily accomplished if the working configuration of a working ASA5505 is viewed.

Below is a GUI shot of a working RDP (Terminal Server) port forward configuration running on a Cisco ASA 5500 series firewall. The TCP port number 3398 is forwarded from the outside interface that's part of VLAN2 to the inside interface that's part of the VLAN1.

!
interface Vlan1 nameif
inside security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2 nameif
outside security-level 0
ip address dhcp setroute

Using the example below, just swap out the ip addresses shown in the static NAT translation for port forwarding RDP (terminal Server) with your own and you have a connection from the Internet to the LAN.

If you prefer command line, it's three lines of code at the command line that will do a simple port forwarding for RDP on the Cisco ASA.

Here they are:

access-list outside_access_in extended permit tcp any interface outside eq 3389
static (inside,outside) tcp interface 3389 192.168.1.10 3389 netmask 255.255.255.255
access-group outside_access_in in interface outside

Obviously, if you are looking to use the lines of code shown in the example above, change the 192.168.1.10 ip address shown above to be the address of the computer or server your forwarding RDP (terminal server) port to connect to. You can essentially use this example for terminal server RDP or for any other forwarding requirement you may have like ftp, http,smtp, etc.

Filed under: ASA, Firewalls No Comments
11Jun/090

Update the Software on an ASA 5505

Updating the code on an ASA Firewall is not much different then any other cisco device.  Put the files on the TFTP server and then run these commands on  the device.  After running the copy TFTP commands it will run you through a wizard you will need to know the Ip adress of the server running the Tftp and you will need to know the exact file name of the files you are trying to load.

 ASA#copy tftp disk0:(software image name)
ASA#copy tftp disk0: (asdm image name)
ASA(config)#boot system disk0:(software image name)
ASA(config)#asdm image disk0: (asdm image name)
ASA# write memory
ASA# reload

Filed under: Firewalls No Comments
21Apr/090

How to Console to a Cisco Device

How to Console. A Quick little video on how to setup a connection via the console on a Cisco Device.   This is one of the fastest ways to connect to a New cisco Device to allow you to start the configuration process.

preview image

Steps:

  1. Open Hyper Term
  2. File > New Connection
  3. Name the Connection I went with Cisco.
  4. Optional - Change the Icon, if you want to save the connection - recommened.
  5. Select Com1 (my Serial port) yours might be different.
    Settings for the connection:
    • 9600 bps
    • 8 bits
    • none
    • 1 stopbit
    •  no flow control
  6.  Click OK and you are done
  7.  You if the device is on hit "enter" to get a command line.