cybercyber_org.setup_ipsec
Ansible role to configure an IPSec VPN with virtual tunnel interface
See this blog post for an extended use-case.
Install using ansible-galaxy install cybercyber_org.setup_ipsec.
Supply the variable ipsec_peers with this content:
ipsec_namespace: ... # if you want to create the ipsec-connection in another namespace than the default one
ipsec_peers:
- name: ... # the name of the connection
psk: ... # the PSK of the connection
ipsec_net: ... # the network (CIDR) of the virtual interface (e.g. 192.168.44.5/30)
ipsec_net6: ... # the ipv6 network of the virtual interface (e.g. fd00:1::1/126)
other: ... # the ip address of the other host
otherid: ... # the id of the other side (optional)
routes: ... # a list of CIDRs that should routed over the virtual tunnel interface
me: ... # The local ip to use
myid: ... # The id to use (optional)
Install
ansible-galaxy install cybercyber_org.setup_ipsecLicense
Unknown
Downloads
71
Owner
Guiding through the world of cyber
