diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 001bc204cb..18842a6d6f 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -463,6 +463,8 @@ EOD;
if ($settings['use_lzo']) $openvpn_conf .= "comp-lzo\n";
if ($settings['passtos']) $openvpn_conf .= "passtos\n";
+
+ if ($settings['gwredir']) $openvpn_conf .= "redirect-gateway\n";
if ($settings['dynamic_ip']) {
$openvpn_conf .= "persist-remote-ip\n";
diff --git a/usr/local/pkg/openvpn_cli.xml b/usr/local/pkg/openvpn_cli.xml
index 129b86f394..d751ac43ab 100644
--- a/usr/local/pkg/openvpn_cli.xml
+++ b/usr/local/pkg/openvpn_cli.xml
@@ -205,6 +205,12 @@
Checking this will set the TOS field of the tunnel packet to what the payload's TOS is.
checkbox
+
+ gwredir
+ Redirect Gateway
+ Redirect ALL traffic through the OpenVPN server.
+ checkbox
+
custom_options
Custom options