Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

VPN connection to a peer using dynamic DNS

This section presents a sample configuration for a connection between WEST and EAST, where EAST has a dynamic IP address (it is configured as a DHCP client) and is configured for dynamic DNS. In this example:

  • EAST has a dynamic IP address from WEST's point of view but WEST can initiate connections to EAST because EAST's hostname remains constant even though its IP address may change.
  • WEST retains its fixed IP address.

When you have finished, these systems will be configured as shown in the following figure.

Figure 1. IPsec VPN connection with dynamic IP address and dynamic DNS

Before you begin:

  • This example assumes that you have already configured a basic site-to-site connection using a pre-shared key between WEST and EAST, as explained in the section Basic site-to-site connection. Only the relevant changes to that configuration are presented here.