Skip to content

Commit

Permalink
updated install.sh with empty iptables.local file
Browse files Browse the repository at this point in the history
  • Loading branch information
jullrich committed Aug 15, 2024
1 parent c0bc642 commit ee72351
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,23 @@ esac

if [ "$use_iptables" = "True" ] ; then
dlog "using iptables not nftables"
cat >/etc/network/iptables.local <<EOF
#
# use this for local iptables rules not to be overwriten
# by the honeypot configuration. Use "-I" to insert rules
# for example, to allow all traffic from a wireguard VPN
# interface, use:
#
# *filter
# -I INPUT 1 -i wg0 -j ACCEPT
# COMMIT
#
# first line must be "*filter"
# last line must be "COMMIT"
# to test, run
# iptables -n iptables.local
#
EOF
cat >/etc/network/iptables <<EOF
#
Expand Down

0 comments on commit ee72351

Please sign in to comment.