- Exclude Gateway destination type from PREROUTING-VPN rule call.
This commit is contained in:
@@ -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
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -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 <arnaud@rx3.net> - 1.2.2-1rx3.mga9
|
||||
- Update to 1.2.2
|
||||
|
||||
* Sun Jul 26 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.1-1rx3.mga9
|
||||
- Update to 1.2.1
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user