diff --git a/src/etc/inc/openvpn.inc b/src/etc/inc/openvpn.inc index 75321f240c..f9093ebc2c 100644 --- a/src/etc/inc/openvpn.inc +++ b/src/etc/inc/openvpn.inc @@ -1209,10 +1209,6 @@ function openvpn_resync_csc(& $settings) { openvpn_add_dhcpopts($settings, $conf); - if ($settings['gwredir']) { - $conf .= "push \"redirect-gateway def1\"\n"; - } - openvpn_add_custom($settings, $conf); /* Loop through servers, find which ones can use this CSC */ if (is_array($config['openvpn']['openvpn-server'])) {