Site-to-site IPsec: joining two offices with a tunnel
Sign in to read this lesson
We know the theory; now we build a working tunnel. An IPsec tunnel between the head office and a branch has four parts: phase 1, phase 2, a route and policies. In this lesson we write each of them, verify the tunnel and learn to find the typical faults.
What you will learn
- A site-to-site tunnel needs four things: phase 1, phase 2, a route to the remote network and a policy in each direction.
- The name of phase 1 is also the name of the tunnel interface. Routes and policies are written for that interface.
- Without at least one policy that uses the tunnel interface, the tunnel does not come up.
- There is no NAT on traffic through the tunnel: the offices must see each other's real private addresses.
- Verification commands:
get vpn ipsec tunnel summary,diagnose vpn ike gateway list,diagnose vpn tunnel list. For the detailed reason usediagnose debug application ike -1.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.