summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/openvpn.init.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/openvpn.init.d b/debian/openvpn.init.d
index cb326bf..8ff3a10 100644
--- a/debian/openvpn.init.d
+++ b/debian/openvpn.init.d
@@ -60,6 +60,7 @@ start_vpn () {
# tun using the "subnet" topology confuses the routing code that wrongly
# emits ICMP redirects for client to client communications
+ SAVED_DEFAULT_SEND_REDIRECTS=0
if grep -q '^[[:space:]]*dev[[:space:]]*tun' $CONFIG_DIR/$NAME.conf && \
grep -q '^[[:space:]]*topology[[:space:]]*subnet' $CONFIG_DIR/$NAME.conf ; then
# When using "client-to-client", OpenVPN routes the traffic itself without