summaryrefslogtreecommitdiff
path: root/src/conf_mode/firewall.py
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2022-08-30 17:05:22 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2022-09-13 11:59:11 +0200
commit31587975258a7ca8158ae6b7c490ac5e0ae4dd71 (patch)
tree5f2cf187eced90478122525698b9a12477cb2620 /src/conf_mode/firewall.py
parent450ca9a9b46d69036af432ddad316d4ddb126085 (diff)
downloadvyos-1x-31587975258a7ca8158ae6b7c490ac5e0ae4dd71.tar.gz
vyos-1x-31587975258a7ca8158ae6b7c490ac5e0ae4dd71.zip
firewall: T2199: Move initial firewall tables to data
Diffstat (limited to 'src/conf_mode/firewall.py')
-rwxr-xr-xsrc/conf_mode/firewall.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/conf_mode/firewall.py b/src/conf_mode/firewall.py
index 86793ba86..f6caf2f0b 100755
--- a/src/conf_mode/firewall.py
+++ b/src/conf_mode/firewall.py
@@ -417,11 +417,6 @@ def resync_policy_route():
Warning(f'Failed to re-apply policy route configuration! {out}')
def apply(firewall):
- if 'first_install' in firewall:
- run('nfct helper add rpc inet tcp')
- run('nfct helper add rpc inet udp')
- run('nfct helper add tns inet tcp')
-
install_result, output = rc_cmd(f'nft -f {nftables_conf}')
if install_result == 1:
raise ConfigError(f'Failed to apply firewall: {output}')