summaryrefslogtreecommitdiffstats
path: root/roles/openvpn/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openvpn/templates')
-rw-r--r--roles/openvpn/templates/katrin/ccd/iperouter.j22
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') }}"