Feat: OPENVPN_INTERFACE defaulting to tun0
- Fix: custom config with custom network interface name for firewall - Keep VPN tunnel interface in firewall state - Vul fix: only allow traffic through vpn interface when needed - Adapt code to adapt to network interface name - Remove outdated TUN and TAP constants
This commit is contained in:
@@ -22,7 +22,8 @@ func Test_Settings_lines(t *testing.T) {
|
||||
Name: constants.Mullvad,
|
||||
},
|
||||
OpenVPN: OpenVPN{
|
||||
Version: constants.Openvpn25,
|
||||
Version: constants.Openvpn25,
|
||||
Interface: "tun",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -33,6 +34,7 @@ func Test_Settings_lines(t *testing.T) {
|
||||
" |--OpenVPN:",
|
||||
" |--Version: 2.5",
|
||||
" |--Verbosity level: 0",
|
||||
" |--Network interface: tun",
|
||||
" |--Mullvad settings:",
|
||||
" |--OpenVPN selection:",
|
||||
" |--Protocol: udp",
|
||||
|
||||
Reference in New Issue
Block a user