koarakko / centos-l2tp-ipsec

Create a l2tp/ipsec environment Using Stongswan and xl2tpd with ansible deploy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use

setup

  1. Create a ssh-config.

The following examples

Host default
  HostName 127.0.0.1
  User vagrant
  Port 2222
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /Users/test/.ssh/test
  IdentitiesOnly yes
  LogLevel FATAL
  1. write hostname to hosts for ansible deploy.

Usage

  • deploy
ansible-playbook -i hosts main.yaml

ToDo

  • Create a ansible template for ubuntu and SUSE.
  • Below, Creating with ansible
    • IKEv2

About

Create a l2tp/ipsec environment Using Stongswan and xl2tpd with ansible deploy.