About jacksonholdingcompany jacksonholdingcompany

This author has not yet filled in any details.
So far jacksonholdingcompany jacksonholdingcompany has created 1639 blog entries.

A Technical Look at IPSEC VPN Tunnel Creation Hank Preston on July 28, 2023 at 6:02 pm

Hello everyone, and welcome back to my little corner of the Internet. I always take inspiration from what I’m currently working on in my day job when putting together an idea for a post and/or video.… Read more on Cisco Blogs

​

Hello everyone, and welcome back to my little corner of the Internet. I always take inspiration from what I’m currently working on in my day job when putting together an idea for a post and/or video. Right now, we’re building a new data center to host the hands-on lab environments for learners, whether you’re training in Cisco U. or taking a course with your favorite Cisco instructor. As you may know, A LOT goes into building a new data center. But since I’m working on building the IPSEC VPN connections between this new data center and the others in our network, let’s narrow it down and take a technical look at IPSEC VPN tunnel creation.

In this blog post and the accompanying video, I’ll cover the IPSEC VPN tunnel creation process. We’ll explore “Phase 1” and “Phase 2” and take a look at how the ACLs that identify “interesting traffic” impact the security associations that are built. We’ll even look at the packets involved in the communications as tunnels are set up. If that sounds good to you, continue on, network adventurer!

A Technical Look at IPSEC VPN Tunnel Creation

“Technically Speaking… with Hank Preston” is a segment on The U. series.

Available on the Cisco U. by Learning and Certifications YouTube Channel. View Playlist

If you’re new here, I’m Hank Preston, Principal Engineer on the Labs and Systems team in Cisco Learning and Certifications. I’ve been building IPSEC VPNs for almost my entire career as a network engineer. In fact, one of my first jobs as a shiny new network engineer was building out IPSEC VPN connections using Cisco PIX firewalls for a Cisco Partner. For me, that meant taking the configuration templates built by the team’s more senior engineers and updating them with the details for a particular tunnel creation.

It wasn’t a problem… until there was one. You see, I didn’t really know what all the commands did back then. So when things didn’t work right away, finding the problem and knowing how to fix it was a bit of a mystery to me. Thankfully, there were some very good mentors and senior engineers to guide me.

I had to learn the commands to run to help me determine the problem and how to fix it. It was during these troubleshooting sessions I first learned terms like “Phase 1,” “Phase 2,” “Main Mode,” “Quick Mode,” and “Aggressive Mode,” as well as the protocols involved, like ISAKMP, IKE, IPSEC. It was a lot of fun, and it was only the beginning.

Over the years, my depth of understanding grew, transforming me into a senior engineer, not unlike those who nurtured my own curiosity. In addition to learning on the job, I had to dive deep into IPSEC VPNs to prepare for my Cisco certification exams. Even though I was preparing for now-retired certifications like CCNA Security, CCSP, and “VPN Specialist,” IPSEC knowledge is still important to this day.

So, should you learn IPSEC?

IPSEC knowledge is critical for real-world applications and current Cisco certification exams. In fact, it’s listed on the 200-301 CCNA exam topics, which is quite telling since the CCNA certification is the mark of someone who has the foundational knowledge to take their tech career in multiple directions. But that’s not all. IPSEC is on the CCNP Enterprise Core Exam, CCNP Security Core Exam, CCNP Security VPN Specialist, CCIE Enterprise Lab Exam, CCIE Security Lab Exam, and probably others. I didn’t check.

So when honing in on a topic for this month, my first choice was IPSEC VPNs. IPSEC VPNs is a huge topic, though. I knew I couldn’t cover everything in a single short “Technically Speaking…” installment. In fact, I hadn’t decided exactly where to focus until I was in the middle of standing up a new tunnel connection between two of our data centers.

There I was, monitoring the tunnel status to ensure everything was healthy, when I found myself on the CLI of one of the firewalls, running commands I’d run thousands of times: “show crypto isakmp sa” and “show crypto ipsec sa.” As I verified that each security association for the traffic types had come up and was healthy, I reflected on my early days of building VPNs on PIXs running these same commands and not knowing what I was looking at. And that’s when it hit me: this would make an excellent addition to the library.

And here were are. Feel free to use the video above to help you follow what I have outlined below. Alright, adventurers… let’s jump in.

Can’t have a VPN without a couple of sites to connect together…

Before we start looking at the tunnel creation, we need a network to work with.

So, I put together a fairly straightforward 2-site network:

Simple 2-site Network

Site 1 (bottom in the diagram) has two local networks; a YELLOW network and a BLUE network.

Site 2 (top in the diagram) has a single local network, the PURPLE network.

Each site is connected to an untrusted WAN by a firewall.  The firewall is configured like firewalls often are: to perform NAT/PAT on traffic passing from “inside” to “outside.”

Bringing the IPSEC VPN concept into this network, the goal is to create a tunnel between the two firewalls that will allow traffic between the sites to be securely tunneled across the WAN. This would then provide a network path for hosts on Site 1’s YELLOW and BLUE networks to reach the hosts on Site 2’s PURPLE network.

Just to let you know… the focus of this post is NOT on the configuration required to set up the network or the IPSEC tunnel itself. Instead, we will look at the process that happens to establish and build the connections when relevant traffic arrives at the firewall and initiates the IPSEC process.

If you’d like to see the configurations in this setup, I have posted a CML topology file for this network in the CML Community on GitHub. If you’d like to dive deeper and try some of this exploration yourself, download the file and run it on your CML server.

Saying something “interesting”

Just because a VPN is configured on a firewall doesn’t mean the tunnel will be established.

Tunnels are established when they are needed and will eventually be torn down if left idle (without traffic passing through them) for long enough.
A firewall determines what type of traffic should trigger the building of a VPN based on an access list that is associated with the IPSEC crypto map that defines the VPN.

Let’s take a look at the access list on Site1-FW that defines this “interesting traffic.”

Site1-FW# show access-list s2svpn_to_site2
access-list s2svpn_to_site2; 2 elements; name hash: 0xa681e779
access-list s2svpn_to_site2 line 1 extended permit ip object-group SITE1 object-group SITE2 log default (hitcnt=0) 0xb520aee6
access-list s2svpn_to_site2 line 1 extended permit ip 192.168.200.0 255.255.255.0 172.16.10.0 255.255.255.0 log default (hitcnt=0) 0xfab888fb
access-list s2svpn_to_site2 line 1 extended permit ip 192.168.100.0 255.255.255.0 172.16.10.0 255.255.255.0 log default (hitcnt=0) 0xb7b04209
Site1-FW# show run crypto map  YouTube

Use #CiscoU and #CiscoCert to join the conversation.

Read next: Exploring Default Docker Networking [Part 1] by Hank Preston

Share

  Explore the IPSEC VPN tunnel creation process, including "Phase 1" and "Phase 2," how Security Associations are impacted when ACLs identify "interesting traffic," and even the packets involved in the communications.  Read More Cisco Blogs 

Partnering for Success in the Age of the Partner Alexandra Zagury on July 28, 2023 at 3:00 pm

The Age of the Partner is here, and partners have played a central role in delivering value to our customers for over 25 years. We know that when partners combine Cisco solutions with their… Read more on Cisco Blogs

​

The Age of the Partner is here, and partners have played a central role in delivering value to our customers for over 25 years. We know that when partners combine Cisco solutions with their customized services you have a recipe for achieving powerful customer outcomes.

I recently sat down with Oliver Tuszik and Bob Bailkoski of Logicalis for an in-depth conversation on Partnering for Success in the Age of the Partner. It was full of insights you won’t want to miss, so I encourage you to watch the entire discussion. In the meantime, here are my top four takeaways from our chat.

1. We are in a new era: The Age of the Partner

The pandemic and new technology trends have  accelerated a new way of partnering. In this new, fast-moving, and complex environment, customers are looking for companies that can deliver the outcomes and services they need to keep their infrastructures running. Innovation is coming from our partners like never before, and the Age of the Partner is  putting partners at the center, delivering all the benefits around the customer’s desired outcomes.

2. The changing landscape is causing more demand for managed services

If you look, the best way to deliver an outcome right now that’s been codified for the industry is a managed service. It’s what the industry understands. But what’s changed is that it’s no longer just about the outcome that’s being delivered—it’s also about the experience.

3. Everything starts with the customer

To drive business outcomes in the Age of the Partner, partners must find the problem they’re trying to solve for and the value they’re trying to generate for their customers. Partners need to understand their essence—such as security, working with SMBs, managed services, etc.—and utilize that essence.

“The primary goal is to align with customer expectations and create a comprehensive solution where Logicalis serves as the central component connecting different vendors seamlessly. With this approach, all the complexities are removed from our customers’ shoulders so that they can focus solely on achieving successful sustainable outcomes.”– Bob Bailkoski, CEO of Logicalis

4. How to find the best partner: Trust, Execution and Values

Finding the best partner starts with trust, followed by the experience they can deliver. Customers need to be able to understand a partner’s capabilities and trust them when handing over important managed services projects. Next, though, is execution—how we bring trust together and how we execute together. Trust and execution go hand-in-hand when deciding who’s the right partner for a customer at that point in time. And last, but certainly not least, is alignment of goals and values.

You can watch the entire conversation and hear more about our thoughts on the Age of the Partner, managed services, and more. And if you want a deeper dive into the Age of the Partner, check out our ebook: Age of the Partner: A New Era of Business, A New Era of Partnering.

Take part in the LinkedIn Live conversation:

‘Partnering for Success in the Age of the Partner’ 

(25:48 minutes)

We’d love to hear what you think. Ask a Question, Comment Below, and Stay Connected with #CiscoPartners on social!

Cisco Partners Facebook    @CiscoPartners Twitter  

Hackers think in all directions. End-to-end security is the answer. Cisco Newsroom: Security

Cisco Security Cloud explained by Tom Gillis, SVP and General [...]

Cisco Survey Reveals: As Consumers Shift Towards A ‘Smarter’ Digital Life, Reliability, Security and Sustainability Emerge as Key Needs Cisco Newsroom: Security

The Cisco Broadband Survey, released today, finds that evolving consumer [...]

Zscaler Digital Experience: Empowering IT the Ability to Troubleshoot a Remote Healthcare Workforce Tamer Baker

Your phone rings as you are on your way out [...]

Enhancing Security with Flow Logging: Exploring Zscaler Client Connector’s Key Feature Vishnu Pandey

Organizations face increasing cyberthreats in today's digital landscape, making robust [...]

Go to Top