mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add needed changes to have OpenVPN Bonding used as default gateway
This commit is contained in:
parent
4449784731
commit
a486708f2b
3 changed files with 7 additions and 0 deletions
|
@ -396,6 +396,9 @@ function wizard_add()
|
|||
vpn_port = 65301
|
||||
vpn_intf = "tun0"
|
||||
ucic:set("network","omrvpn","proto","dhcp")
|
||||
elseif default_vpn == "openvpn_bonding" then
|
||||
vpn_intf = "bonding-omrvpn"
|
||||
ucic:set("network","omrvpn","proto","bonding")
|
||||
end
|
||||
if vpn_intf ~= "" then
|
||||
ucic:set("network","omrvpn","ifname",vpn_intf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue