hiddify / hiddify-next

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
15.64k stars 1.44k forks source link

VPN service doesn't work (Fedora) #521

Open nimbold opened 6 months ago

nimbold commented 6 months ago

Search first

What Happened?

Proxy, System proxy and VPN (sudo run) work as they should and they pass traffic through hiddify. The new VPN service mode connects and everything seems to be working but no traffic is passing through hiddify and it's like VPN is not implemented in the system.

Reproduce the Bug

(On Fedora based linux)

  1. Open Hiddify
  2. Select VPN service mode
  3. Connect
  4. Enter passwords
  5. Traffic doesn't go through hiddify

Expected Behavior

Traffic goes through hiddify and can access free internet.

Version

0.16.0

Platform/OS

Linux

Additional Context

0.15.15 was the same

Relevant log output

12:59:31.681525 - [D] Pref<bool, dynamic>: updating preference [started_by_user](bool) to [true]
12:59:31.688727 - [W] ConfigOptionRepositoryImpl: error getting preference[url-test-interval], expected type: [int] - received value: [10m](String)
12:59:31.689548 - [I] ConnectionRepositoryImpl: config options: {
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": true,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 2334,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://cp.cloudflare.com/",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": true,
  "set-system-proxy": false,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "enable-tls-fragment": true,
  "tls-fragment-size": "20-70",
  "tls-fragment-sleep": "10-25",
  "enable-tls-mixed-sni-case": false,
  "enable-tls-padding": false,
  "tls-padding-size": "100-200",
  "enable-mux": false,
  "mux-padding": false,
  "mux-max-streams": 8,
  "mux-protocol": "h2mux",
  "enable-warp": false,
  "warp-detour-mode": "outbound",
  "warp-license-key": "",
  "warp-account-id": "",
  "warp-access-token": "",
  "warp-clean-ip": "auto",
  "warp-port": 0,
  "warp-noise": "",
  "geoip-path": "geo-assets/chocolate4u-iran-sing-box-rules-geoip.db",
  "geosite-path": "geo-assets/chocolate4u-iran-sing-box-rules-geosite.db",
  "rules": [
    {
      "domains": "domain:.ir,geosite:ir",
      "ip": "geoip:ir",
      "port": null,
      "protocol": null,
      "network": "",
      "outbound": "bypass"
    }
  ]
}
Memory Limit: false
12:59:31.690454 - [D] FFISingboxService: starting, memory limit: [false]
12:59:31.690815 - [I] ConnectionNotifier: connection status: CONNECTING
12:59:31.693293 - [D] SystemTrayNotifier: updating system tray
12:59:34.598977 - [I] ConnectionNotifier: connection status: CONNECTED
12:59:34.599546 - [D] IpInfoNotifier: disposing
12:59:34.599942 - [D] ProxyRepositoryImpl: getting current ip info using [https://ipapi.co/json/]
12:59:34.602167 - [D] SystemTrayNotifier: updating system tray
12:59:54.404877 - [D] ProxiesOverviewNotifier: changing proxy, group: [select] - outbound: [TG-Miami-CDN2-Vless § 34]
13:00:08.490511 - [D] IpInfoNotifier: entering idle mode
13:00:08.490708 - [D] IpInfoNotifier: disposing
13:00:10.793354 - [D] FFISingboxService.watchGroups: stopping
13:09:12.378963 - [D] ForegroundProfilesUpdateNotifier: cycle [1]
13:09:12.379206 - [D] ForegroundProfilesUpdateNotifier: running, previous run: [2024-02-19 12:54:12.376252]
13:09:12.380259 - [D] ForegroundProfilesUpdateNotifier: skipping profile [2377dfb9-f8e5-43e2-8aae-561547030a1a] update. last successful update: [2024-02-17 03:30:10.185604] - interval: [null]

Are you willing to submit a PR? If you know how to fix the bug.

TheLastFlame commented 6 months ago

I am experiencing a similar problem on Windows 11.

The logs are empty. Even in Trace mode. No requests reach the VPN at all

nimbold commented 6 months ago

Still not fixed in the latest releases. Also Appimage package is broken.

XSilverTH commented 3 weeks ago

still not fixed 2.1.5 from aur on arch

nimbold commented 3 weeks ago

still not fixed 2.1.5 from aur on arch

Yeah, still broken. Hope to see it fixed 🤞