We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bc642 commit ee72351Copy full SHA for ee72351
bin/install.sh
@@ -1416,6 +1416,23 @@ esac
1416
1417
if [ "$use_iptables" = "True" ] ; then
1418
dlog "using iptables not nftables"
1419
+ cat >/etc/network/iptables.local <<EOF
1420
+#
1421
+# use this for local iptables rules not to be overwriten
1422
+# by the honeypot configuration. Use "-I" to insert rules
1423
+# for example, to allow all traffic from a wireguard VPN
1424
+# interface, use:
1425
1426
+# *filter
1427
+# -I INPUT 1 -i wg0 -j ACCEPT
1428
+# COMMIT
1429
1430
+# first line must be "*filter"
1431
+# last line must be "COMMIT"
1432
+# to test, run
1433
+# iptables -n iptables.local
1434
1435
+EOF
1436
cat >/etc/network/iptables <<EOF
1437
1438
#
0 commit comments