DMVPN Firewall (Access-List) Ports

If you have a dedicated DMVPN router and want to apply a simple access list to the public interface to block all other traffic, this is what you need opened up: permit esp any any permit udp any eq isakmp any eq isakmp and if you have NAT-T, then you also need: permit udp any eq non500-isakmp any eq non500-isakmp This is also assuming you have spokes connecting from unknown IP’s, if you have all static IP’s, you can further lock it down by restricting access to those IP’s only.

November 13, 2013 · 1 min · Daniel Kuchenski

DMVPN - Phase 1 with EIGRP

Here is a quick and clean DMVPN Phase 1 Configuration: Hub Router IPsec: HUB01(config)# crypto isakmp policy 10 HUB01(config-isakmp)# encr 3des HUB01(config-isakmp)# hash md5 HUB01(config-isakmp)# authentication pre-share HUB01(config)# crypto isakmp key CISCO address 0.0.0.0 0.0.0.0 HUB01(config)#crypto ipsec transform-set TR_SET esp-3des HUB01(cfg-crypto-trans)# mode transport HUB01(config)# crypto ipsec profile DMVPN HUB01(config-profile)# set transform-set TR_SET Tunnel: HUB01(config)# interface tunnel 0 HUB01(config-if)# ip address 192.168.200.1 255.255.255.0 HUB01(config-if)# ip mtu 1400 HUB01(config-if)# ip tcp adjust-mss 1360 HUB01(config-if)# ip nhrp authentication DMVPN HUB01(config-if)# ip nhrp map multicast dynamic HUB01(config-if)# ip nhrp network-id 1 HUB01(config-if)# ip nhrp holdtime 60 HUB01(config-if)# ip nhrp registration no-unique HUB01(config-if)# tunnel source FastEthernet0/1 (WAN interface) HUB01(config-if)# tunnel mode gre multipoint HUB01(config-if)# tunnel key 1234 HUB01(config-if)# tunnel protection ipsec profile DMVPN HUB01(config-if)# no ip eigrp 1 split-horizon eigrp 1 HUB01(config-if)# bandwidth 1000 EIGRP: ...

November 12, 2013 · 2 min · Daniel Kuchenski

ASA Implicit Rule "Permit all traffic to less secure networks" ACL

When adding a new network interface to the ASA, you must specific a security level. Based off this security level, the default ACL allows you to access “less secure” networks, and denies access to “more secure” networks. This default rule works great until you need to implement a security zone with specific access to different zones. For example, a DMZ would have a security level of 50 (access to outside, implicit deny to inside). When we need to add an ACL to permit certain access to the inside, the implicit “Permit all traffic to less secure networks” rule is removed. We must manually add this in. I found a great post regarding this setup on the Cisco Support Community which I will copy here for future reference: ...

October 3, 2013 · 2 min · Daniel Kuchenski

Cisco Switch Security Best Practices

This is a summary and command reference for Cisco Switch Security Best Practices from the Cisco CCNP material. 1. Configure secure passwords Use the enable secret command to set the enable password Use external AAA servers for administrative access Use the service password-encryption command to prevent casual observers from seeing password 2. Use the system banner Use the banner motd command to warn unauthorized users that their actions could be grounds for prosecution. Also do not display any information regarding the network/switch, as this could be used by a malicious user. ...

September 30, 2013 · 2 min · Daniel Kuchenski

Cisco SPAN (Port-Mirror) Configuration

Example: On my Cisco switch I want to mirror port 10 to port 20 so I can plug in my laptop (into port 20) with wireshark and do packet captures (config) #monitor session 1 source interface fastethernet0/10 (config) #monitor session 1 destination interface fastethernet0/20 and then verify the configuration switch #show monitor session 1

September 5, 2013 · 1 min · Daniel Kuchenski

OSPF Neighbor Relationships

5 Requirements for OSPF to form a relationship with a neighbor: 1. Hello and Dead timers must match 2. Network mask must match 3. Area ID must match 4. Authentication password must match (if you are using OSPF authentication) 5. Stub Area Flag must match Also found a great wiki on OSPF best practices: http://wiki.nil.com/OSPF_area_configuration_best_practices

August 27, 2013 · 1 min · Daniel Kuchenski

IPv6 OSPF on a Cisco router

The big difference between IPv4 and IPv6 OSPF configuration on a Cisco router is that the initial configuration has moved to the interface level, instead of using the “network” statements to determine which interfaces will be part of the OSPF process. To get IPv6 OSPF up-and-running, here are the 4 basic commands: Enable ipv6 routing between non-local subnets router(config)# ipv6 unicast-routing Go into the interface config and enable the OSPF process and area router(config-if)# ipv6 ospf 100 area 0 ...

August 24, 2013 · 1 min · Daniel Kuchenski

Advertise Default Route with BGP

If you are used to using the “Default-Information Originate” command with OSPF or EIGRP to easily advertise a default route, you might be surprised to find that solely applying that command within BGP does not advertise a default route. You must also use Redistribute Static in conjunction with Default-Information Originate. Your BGP config would look something like this: router bgp 65000 no synchronization bgp log-neighbor-changes redistribute static neighbor 10.10.10.10 remote-as 65010 default-information originate no auto-summary Both commands are needed whether you are using eBGP or iBGP.

August 17, 2013 · 1 min · Daniel Kuchenski

Understanding VLAN Membership

The topic of how VLANs work and untagging/tagging ports has come up, so I am attempting to write a simplified post based off some of the questions I have received: VLANs are typically assigned to a single subnet. This is done to limit the broadcast domain and to implement access control. For example, my network could look like this: VLAN 10: 10.0.10.0/24 VLAN 20: 10.0.20.0/24 VLAN 30: 10.0.30.0/24 If you want to connect a PC to VLAN 30, then you would assign an IP address in the 10.0.30.0/24 network to the PC, and connect to a switchport that is Untagged on VLAN 30 (If you are using Cisco switches, this would be Switchport Access VLAN 30) . The PC would send untagged frames since it is not VLAN aware, and the switch would accept those untagged frames into VLAN 30. ...

July 9, 2013 · 3 min · Daniel Kuchenski

Cisco Troubleshooting Commands for Input/Output Drops

Some common commands that can help troubleshoot packet discards or drops: show interface x/x/x show interface x/x/x stats show interface x/x/x switching show cef not-cef-switched show ip cef switching statistics show ip cef switching statistics features show ip traffic show buffers and if you suspect an issue with CEF, you can use: debug ip cef receive

April 8, 2013 · 1 min · Daniel Kuchenski

Cisco Router Reset Password

Link for instructions on how to reset the password on your 2600 or 2800 series router: cisco.com

February 11, 2013 · 1 min · Daniel Kuchenski

New Network Subnet Provisioning

Found the Cisco Design Zone online, which has tons of great resources: cisco.com Read an article on IPv4 addressing schemes, and best practices for setting up a new network. Besides separate subnets for the standard data and voice networks, it is recommended to: “Reserve a subnet for physical security. Security requirements can be as simple as a subnet to control door access to a building or something more complex like video surveillance for the entire building. Even if physical security is not required at the initial setup, you should still complete this step.” “Reserve a subnet for facilities. This subnet addresses physical plant requirements such as remote power control, air conditioning, and facilities monitoring, which can now be monitored with new technology on the IP network.” “Allocate public addresses for all production networks in the demilitarized\ zone (DMZ), which is the network or networks situated between an ISP edge\ ...

January 12, 2013 · 2 min · Daniel Kuchenski