I installed GenyConnect using the NixOS flake but I can't connect to VPN using TUN mode
It used to error and not connect but this time it asked for my password and connected but doesn't do anything:
[Connection] Disconnected.
[System] Generated tun-in settings: {"address":["172.19.0.1/30","fd00:1234:5678::1/126"],"autoOutboundsInterface":"auto","autoRoute":true,"mtu":1500,"name":"xray0","sniff":true,"stack":"gvisor","strictRoute":true}
[System] Runtime config validated: mixed=127.0.0.1:10808 tunInbound=yes tunMtu=number
[Routing] Structured rules for profile id '646033ef-fe96-4b3f-9ec5-aa981923af66': total=1 applied=1 skipped(disabled=0,scope=0,invalid=0,process=0).
[Routing] Applied 1 active structured rule(s) for profile id '646033ef-fe96-4b3f-9ec5-aa981923af66'.
[Routing] Applied rule details: full:soft98.ir -> direct
[System] TUN interface selected: xray0
[PowerMode] Policy updated (application backgrounded): stats=15000ms ui=10000ms gauge=500ms
[PowerMode] Policy updated (application foregrounded): stats=1000ms ui=1000ms gauge=40ms
[Connection] Connected.
[System] TUN mode active: system traffic should route through Xray TUN.
[System] Xray started. Local proxy (mixed): 127.0.0.1:10808.
Xray 26.3.27 (Xray, Penetrates Everything.) Custom (go1.26.4 linux/amd64)
A unified platform for anti-censorship.
2026/07/31 19:40:41.600662 [Info] infra/conf/serial: Reading config: &{Name:/home/mirzariya/.local/share/GenyConnect/GenyConnect/xray-runtime-config.json Format:json}
2026/07/31 19:40:41.602431 [Warning] common/errors: The feature VMess (with no Forward Secrecy, etc.) is deprecated, not recommended for using and might be removed. Please migrate to VLESS Encryption as soon as possible.
2026/07/31 19:40:41.619257 [Warning] core: Xray 26.3.27 started
[System] Linux TUN readiness OK: interface=xray0 addresses=172.19.0.1/30, fd00:1234:5678::1/126 routeState=tun-routes ruleState=0: from all lookup local
32766: from all lookup main
32767: from all lookup default
[System] TUN mode readiness is validated through the TUN runtime; skipping mixed proxy self-test.
[PowerMode] Policy updated (application backgrounded): stats=15000ms ui=10000ms gauge=500ms
[PowerMode] Policy updated (application foregrounded): stats=1000ms ui=1000ms gauge=40ms
I installed GenyConnect using the NixOS flake but I can't connect to VPN using TUN mode
It used to error and not connect but this time it asked for my password and connected but doesn't do anything: