mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-19 03:26:15 +08:00
Save iptable rules
Change-Id: I5c1a72c901daec388987385d31718693080e85e8 Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
8
coin/provisioning/common/linux/save_iptables.sh
Executable file
8
coin/provisioning/common/linux/save_iptables.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 The Qt Company Ltd
|
||||
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# Requires iptables-persistent apt package
|
||||
|
||||
sudo mkdir /etc/iptables
|
||||
sudo bash -c "iptables-save > /etc/iptables/rules.v4"
|
||||
Reference in New Issue
Block a user