docker/ipnat/build/start.sh

11 lines
256 B
Bash
Raw Permalink Normal View History

2023-08-25 20:39:55 -07:00
#!/bin/bash
touch /var/log/iptables.log
bash /iptables.sh
iptables -A INPUT -j LOG --log-prefix "[I]iptables: "
iptables -A OUTPUT -j LOG --log-prefix "[O]iptables: "
iptables -A FORWARD -j LOG --log-prefix "[F]iptables: "
tail -f /var/log/iptables.log