summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-29 19:37:57 +0100
committerGitHub <noreply@github.com>2022-01-29 19:37:57 +0100
commit9b750c11011761099f06ccce89a9b7001764629e (patch)
treebf8187f9bc73454a30ac50a86dce445e94ef9b8b
parent92ba4e493adc3158c6aafc3d6b5f6f86b2e7e4ff (diff)
parent7e00db319e5078c1f290e63a968af0c507c99bd4 (diff)
downloadvyatta-cfg-firewall-9b750c11011761099f06ccce89a9b7001764629e.tar.gz
vyatta-cfg-firewall-9b750c11011761099f06ccce89a9b7001764629e.zip
Merge pull request #29 from goodNETnick/default-rule-num
firewall: T4100: default action number
-rwxr-xr-xlib/Vyatta/IpTables/Rule.pm2
-rwxr-xr-xscripts/firewall/vyatta-firewall.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/IpTables/Rule.pm b/lib/Vyatta/IpTables/Rule.pm
index 5f1e0a4..034ecfe 100755
--- a/lib/Vyatta/IpTables/Rule.pm
+++ b/lib/Vyatta/IpTables/Rule.pm
@@ -68,7 +68,7 @@ my %fields = (
);
my %dummy_rule = (
- _rule_number => 10000,
+ _rule_number => 1000000,
_protocol => "all",
_state => {
_established => undef,
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl
index e6fa85a..270007b 100755
--- a/scripts/firewall/vyatta-firewall.pl
+++ b/scripts/firewall/vyatta-firewall.pl
@@ -28,7 +28,7 @@ my $FW_LOCAL_HOOK = 'VYATTA_FW_LOCAL_HOOK';
# FW_LOCALOUT_HOOK is only used in mangle table for PBR of locally initiated traffic
my $FW_LOCALOUT_HOOK = 'VYATTA_FW_LOCALOUT_HOOK';
-my $max_rule = 10000;
+my $max_rule = 1000000;
my (@setup, @updateints, @updaterules);
my ($teardown, $teardown_ok);