Sign inSign up

newops/strongswan

By newops

Updated over 5 years ago

strongswan

Image
0

340

newops/strongswan repository overview

strongswan

Strongswan DockerHub

Guide for helm deploy

Helm charts for strongswan

$ git clone xxx strongswan
$ helm install --name opsvpn --namespace secure strongswan/
$ helm status opsvpn
$ helm delete opsvpn --purge

Guide for manual deploy

  • ipsec
COPY conf/ipsec.conf /etc/ipsec.conf
COPY conf/ipsec.secrets /etc/ipsec.secrets
  • certificates
$ chmod 640 /etc/ipsec.d/cacerts/chain.pem
$ chmod 640 /etc/ipsec.d/certs/cert.pem
$ chmod 640 /etc/ipsec.d/private/privkey.pem
  • run with no daemon
$ ipsec start --nofork

Post start

  • route
$ sysctl -w net.ipv4.ip_forward=1
  • firewall
$ iptables -t nat -A POSTROUTING -s 192.168.111.0/24 -o eth0 -j MASQUERADE
  • listenning ports

Listenning UDP port 500&4500 by HostPort or LoadBalancer

Referrence

Tag summary

Content type

Image

Digest

Size

9 MB

Last updated

over 5 years ago

docker pull newops/strongswan