File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ export function ConfigurationModal({
109109 var_mknod : 0 ,
110110 var_mount_fs : '' ,
111111 var_protection : 'no' ,
112+ var_tun : 'no' ,
112113
113114 // System
114115 var_timezone : '' ,
@@ -806,6 +807,20 @@ export function ConfigurationModal({
806807 < option value = { 1 } > Enabled</ option >
807808 </ select >
808809 </ div >
810+ < div >
811+ < label className = "block text-sm font-medium text-foreground mb-2" >
812+ TUN/TAP (VPN)
813+ </ label >
814+ < select
815+ value = { typeof advancedVars . var_tun === 'boolean' ? ( advancedVars . var_tun ? 'yes' : 'no' ) : String ( advancedVars . var_tun ?? 'no' ) }
816+ onChange = { ( e ) => updateAdvancedVar ( 'var_tun' , e . target . value ) }
817+ className = "w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground focus:ring-2 focus:ring-ring focus:outline-none"
818+ >
819+ < option value = "no" > No</ option >
820+ < option value = "yes" > Yes</ option >
821+ </ select >
822+ < p className = "text-xs text-muted-foreground mt-1" > For Tailscale, WireGuard, OpenVPN</ p >
823+ </ div >
809824 < div >
810825 < label className = "block text-sm font-medium text-foreground mb-2" >
811826 Mknod
You can’t perform that action at this time.
0 commit comments