Vyatta Site2Site OpenVPN-Tunnel

How to set up an OpenVPN Tunnel on a VYATTA or Ubiquiti EdgeMax Router.

The Main Site Router A will wait for connection.

Main Site Router A:

Create openvpn key , copy it it temporary directory, change its user ownership.

Create openVPN interface vtun0 with a Local-IP to assign and a remote IP.

Router B

Copy the Key from Router A to our router B

Now, time to configure the „vtun0“ interface. Once we commit this this router will try connecting to the Main-Site router.

Executing the show interfaces will show the new interface.
Thats all, everything is set and should be working fine. Ping from Main-Site to Site-B is flowing smoothly.

Next step is to set up routing. (i prefere the OSPF protocol)

Source: http://saevolgo.blogspot.ch/2012/06/openvpn-with-vyatta-site-behind-nat.html

Schreibe einen Kommentar

Deine Email-Adresse wird nicht veröffentlicht.