From c2de255a0ec5790ff716c87e378d7c90e3983e7f Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Tue, 18 Aug 2026 15:59:54 +0200 Subject: [PATCH] - Exclude Gateway destination type from PREROUTING-VPN rule call. --- ReleaseNotes.txt | 8 ++++++++ SPECS/network_tools.spec | 5 ++++- lib/rx3/network.bash | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 5a25da9..021171f 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,3 +1,11 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Network Tools V 1.2.2 - A. GIBERT - 2026/08/18 +------------------------------------------------------------------------------------------------------------------------------------ + +- Exclude Gateway destination type from PREROUTING-VPN rule call. + + + ------------------------------------------------------------------------------------------------------------------------------------ Network Tools V 1.2.1 - A. GIBERT - 2026/07/26 ------------------------------------------------------------------------------------------------------------------------------------ diff --git a/SPECS/network_tools.spec b/SPECS/network_tools.spec index 92f7aa2..e26e517 100644 --- a/SPECS/network_tools.spec +++ b/SPECS/network_tools.spec @@ -24,7 +24,7 @@ %define name network_tools -%define version 1.2.1 +%define version 1.2.2 %define release %mkrel 1rx3 %global debug_package %{nil} @@ -213,6 +213,9 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi} #----------------------------------------------------------------------------------------------------------------------------------- %changelog +* Tue Aug 18 2026 Arnaud G. GIBERT - 1.2.2-1rx3.mga9 +- Update to 1.2.2 + * Sun Jul 26 2026 Arnaud G. GIBERT - 1.2.1-1rx3.mga9 - Update to 1.2.1 diff --git a/lib/rx3/network.bash b/lib/rx3/network.bash index 39323e8..482e62f 100644 --- a/lib/rx3/network.bash +++ b/lib/rx3/network.bash @@ -1367,7 +1367,7 @@ network_forward_start() do network_dst_tab_get ${dst_id} - if [[ "${dst_type}" != "0" ]] + if [[ ( "${dst_type}" != "0") && ( "${dst_type}" != "1") ]] then ${DEBUG} iptables -t nat -A PREROUTING -i ${dst_device} -j PREROUTING-VPN fi @@ -1424,7 +1424,7 @@ network_forward_stop() do network_dst_tab_get ${dst_id} - if [[ "${dst_type}" != "0" ]] + if [[ ( "${dst_type}" != "0") && ( "${dst_type}" != "1") ]] then ${DEBUG} iptables -t nat -D PREROUTING -i ${dst_device} -j PREROUTING-VPN 2>/dev/null || true fi