diff options
author | Micah Anderson <micah@riseup.net> | 2022-06-14 17:51:56 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2022-06-14 17:51:56 -0400 |
commit | 85d1ef9881b2501b5c64424f676618ac9254ee4e (patch) | |
tree | 2a04531ce45927877d906bf3f9688f1c9f40bce2 | |
parent | e8fa914c52731dd284df23345c3c1e0e935e28ca (diff) |
openvpn: set the local option to bind to the ingress ip
-rw-r--r-- | config/roles/openvpn/templates/udp.conf.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/roles/openvpn/templates/udp.conf.j2 b/config/roles/openvpn/templates/udp.conf.j2 index 640a450..f93401b 100644 --- a/config/roles/openvpn/templates/udp.conf.j2 +++ b/config/roles/openvpn/templates/udp.conf.j2 @@ -1,5 +1,6 @@ mode server tls-server +local {{ ips | ansible.netcommon.ipv4 | first }} port 80 ca /etc/leap/ca/leap_ca_bundle.crt cert /etc/credentials/sspki/openvpn/cert.pem |