Commit Graph

87 Commits

Author SHA1 Message Date
litinoveweedle
c6104f5a82 fix vpn check script logic 2026-02-04 16:17:49 +01:00
litinoveweedle
47a43c82b4 initial VPN logic implementation
both Wireguard and OpenVPN are  now handled by single service file
This remove dependency to external tools
Simplify vpn routing by using dedicated routing table which is used by qbittorrent torrent client listenning directly on the vpn interface.
To prevent DNS leeks traffic to addon configured DNS servers is forced to use same dedicated routing table
2026-01-25 09:21:49 +01:00
Alexandre
62669745e8 Fix condition for VPN interface binding 2025-11-24 22:12:00 +01:00
Alexandre
50388590cd Handle VPN monitor interface binding 2025-11-24 22:10:17 +01:00
Alexandre
b94818666b Add shared VPN leak monitoring service 2025-11-24 14:11:57 +00:00
Alexandre
c25fd8ae1e revert 2025-11-24 13:56:09 +00:00
Alexandre
60859009bb Update run 2025-11-24 14:54:30 +01:00
Alexandre
c278320079 Create finish script for vpn_guard service
Add finish script to handle Nginx failure in vpn_guard.
2025-11-24 14:46:39 +01:00
Alexandre
759d8ab131 Add VPN leak monitoring script
This script monitors VPN connection and checks for IP leaks, allowing nginx to start only when the VPN is active.
2025-11-24 14:46:19 +01:00
Alexandre
431dcb50d3 Simplify nginx run script by removing VPN checks
Removed VPN monitoring and IP leak protection logic from the nginx run script.
2025-11-24 14:43:28 +01:00
Alexandre
f4bcaa38db Enhance VPN IP and country retrieval methods
Updated the VPN_INFO_URL to allow for country lookup by IP and improved the public IP fetching method with multiple fallback URLs.
2025-11-24 14:21:32 +01:00
Alexandre
bb58c2898d Update run 2025-11-24 14:08:30 +01:00
Alexandre
8e1a05362a Update run 2025-11-19 15:54:48 +01:00
Alexandre
9809407dd7 Improve VPN IP monitoring in nginx run script
Refactor nginx run script to enhance VPN IP monitoring and logging.
2025-11-19 15:38:25 +01:00
github-actions
749b48fc9b GitHub bot: sanitize (spaces + LF endings) & chmod 2025-11-18 11:33:03 +00:00
Alexandre
c0539ea87d Handle IPv6-less hosts in ip6tables shim 2025-11-18 12:28:20 +01:00
alexbelgium
769d9bf0a6 fix: auto-fix linting issues 2025-08-24 00:33:36 +00:00
github-actions
9233a63806 GitHub bot: sanitize (spaces + LF endings) & chmod 2025-08-17 13:51:06 +00:00
alexbelgium
0d3c7619b4 fix: auto-fix linting issues 2025-08-17 00:34:15 +00:00
github-actions
6328e85977 GitHub bot: sanitize (spaces + LF endings) & chmod 2025-07-31 12:41:04 +00:00
alexbelgium
f5428e0950 fix: auto-fix linting issues 2025-07-23 08:58:09 +00:00
github-actions
56b7d56f64 GitHub bot: sanitize (spaces + LF endings) & chmod 2025-07-17 11:52:35 +00:00
github-actions
08256b7d99 GitHub bot: fix linting issues (nobuild) 2025-07-15 14:48:10 +00:00
github-actions
c6e5dc8f6b GitHub bot: fix linting issues (nobuild) 2025-07-15 14:40:38 +00:00
alexbelgium
67a3ca07d9 fix: auto-fix linting issues 2025-07-15 14:37:22 +00:00
github-actions
6d6707af23 GitHub bot: fix linting issues (nobuild) 2025-07-15 14:31:08 +00:00
alexbelgium
ef025234fb fix: auto-fix linting issues 2025-07-13 00:35:25 +00:00
github-actions
f5f2e15076 GitHub bot: fix linting issues (nobuild) 2025-06-29 05:10:37 +00:00
alexbelgium
74ccfb8cf6 fix: auto-fix linting issues 2025-06-29 00:35:16 +00:00
Alexandre
44eabc9a7b Remove exec 2024-12-02 09:20:52 +01:00
Alexandre
cb00569a53 Improve nginx 2024-12-02 09:02:32 +01:00
Alexandre
f95a8de55f Update run 2024-01-17 10:55:32 +01:00
Alexandre
5ad084ff90 Update run 2024-01-11 22:56:15 +01:00
Alexandre
006efea300 Revert 2023-12-22 07:35:57 +01:00
Alexandre
ecd07200e5 New generation 2023-12-09 14:02:01 +01:00
Alexandre
c55f3c6752 Add set -e 2023-10-03 20:02:29 +02:00
Alexandre
7d152d0c03 Rename qbittorrent/rootfs/etc/services.d/nginx/timer to qbittorrent/rootfs/etc/services.d/timer/run 2022-09-04 21:18:46 +02:00
Alexandre
7315f91bf4 Create timer 2022-09-04 21:18:23 +02:00
Alexandre
4bf30caacf Rename qbittorrent/rootfs/etc/services.d/qbittorrent/timer to qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/timer 2022-09-04 17:37:31 +02:00
Alexandre
d4da7645b9 Rename qbittorrent/rootfs/etc/services.d/qbittorrent/run to qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run 2022-09-04 17:36:53 +02:00
Alexandre
a22ec5e2b2 Update timer 2022-09-04 17:15:43 +02:00
Alexandre
fe8dc81757 Update run 2022-09-04 17:15:23 +02:00
Alexandre
b62eddd3c8 Update timer 2022-09-04 15:23:43 +02:00
Alexandre
9a00f7d1cf Update run 2022-09-04 14:50:31 +02:00
Alexandre
1423625a1c Update run 2022-09-04 13:10:18 +02:00
Alexandre
89f373fcdb Delete finish 2022-09-04 13:06:32 +02:00
Alexandre
d911b9ba46 Update run 2022-07-04 11:07:10 +02:00
Alexandre
3c4af4a75c Test : periodically check VPN is up
https://github.com/alexbelgium/hassio-addons/issues/377
2022-07-04 10:06:18 +02:00
Alexandre
ecb85ce7e3 Update run 2022-06-15 18:36:22 +02:00
Alexandre
e7bc9f6fdb Update run 2022-05-06 21:26:40 +02:00