mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
OpenVPN: redirect-gateway added
This commit is contained in:
parent
0bcee88054
commit
cb36037003
@ -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";
|
||||
|
||||
@ -205,6 +205,12 @@
|
||||
<description>Checking this will set the TOS field of the tunnel packet to what the payload's TOS is.</description>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<fieldname>gwredir</fieldname>
|
||||
<fielddescr>Redirect Gateway</fielddescr>
|
||||
<description>Redirect ALL traffic through the OpenVPN server.</description>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<fieldname>custom_options</fieldname>
|
||||
<fielddescr>Custom options</fielddescr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user