about summary refs log tree commit diff
path: root/chainloader.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chainloader.sh')
-rw-r--r--chainloader.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/chainloader.sh b/chainloader.sh
index 8bf5a6f..880fcfe 100644
--- a/chainloader.sh
+++ b/chainloader.sh
@@ -5,6 +5,7 @@ openvpn --genkey --secret /prod/persist/static.key
 
 # Generate client.conf
 echo "remote $remoteAddress $remotePort" > /tmp/client.conf
+echo "route $subnet $subnetMask" >> /tmp/client.conf
 cat /prod/client.conf >> /tmp/client.conf
 echo "<secret>" >> /tmp/client.conf
 cat /prod/persist/static.key >> /tmp/client.conf