diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:45:42 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:45:42 +0200 |
commit | 55256f2247592548b26889defc2e46258580101b (patch) | |
tree | 266c14607a29ff701bb9576cadb47dd86706ab42 /roles/openvpn/templates/katrin/ccd | |
parent | 4f509f9faad0e463cbc5dcac057c4da0fda3e969 (diff) | |
download | ands-55256f2247592548b26889defc2e46258580101b.tar.gz ands-55256f2247592548b26889defc2e46258580101b.tar.bz2 ands-55256f2247592548b26889defc2e46258580101b.tar.xz ands-55256f2247592548b26889defc2e46258580101b.zip |
Allow iperouter to access KaaS OpenVPN network
Diffstat (limited to 'roles/openvpn/templates/katrin/ccd')
-rw-r--r-- | roles/openvpn/templates/katrin/ccd/iperouter.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openvpn/templates/katrin/ccd/iperouter.j2 b/roles/openvpn/templates/katrin/ccd/iperouter.j2 new file mode 100644 index 0000000..b4a8fdd --- /dev/null +++ b/roles/openvpn/templates/katrin/ccd/iperouter.j2 @@ -0,0 +1,2 @@ +ifconfig-push {{ openvpn_net | ipaddr(210) | ipaddr('address') }} {{ openvpn_net | ipaddr('netmask') }} +push "route 192.168.110.0 255.255.255.0 {{ openvpn_net | ipaddr(181) | ipaddr('address') }}" |