From 55256f2247592548b26889defc2e46258580101b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 04:45:42 +0200 Subject: Allow iperouter to access KaaS OpenVPN network --- roles/openvpn/templates/katrin/ccd/iperouter.j2 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 roles/openvpn/templates/katrin/ccd/iperouter.j2 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') }}" -- cgit v1.2.3