Skip to content

Commit

Permalink
feat(client): Added a prompt for the user to choose whether to instal…
Browse files Browse the repository at this point in the history
…l Tun
  • Loading branch information
muink authored Oct 29, 2023
1 parent 69792b8 commit 1bffe19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ return view.extend({
if (features.hp_has_ip_full && features.hp_has_tun) {
o.value('redirect_tun', _('Redirect TCP + Tun UDP'));
o.value('tun', _('Tun TCP/UDP'));
} else {
o.description = _('To enable Tun support, you need to install <code>ip-full</code> and <code>kmod-tun</code>');
}
o.default = 'redirect_tproxy';
o.rmempty = false;
Expand Down

0 comments on commit 1bffe19

Please sign in to comment.