User Tools

Site Tools


wiki:shorewall_setup

shorewall setup

apt-get install shorewall shorewall6
cd /etc/shorewall/
cp /usr/share/doc/shorewall/examples/one-interface/{interfaces,policy,rules,zones} .
cd /etc/shorewall6/
cp /usr/share/doc/shorewall6/examples/one-interface/{rules,interfaces,zones,policy} .

On Debian 9 enable systemd service:

systemctl enable shorewall

Set the correct network interface name. Example for IPv6 (do the same for v4), check where the IPv6 is on with

ip -6 a

Then update /etc/shorewall6/interfaces e.g.

net     NET_IF          tcpflags,physical=enp5s0

Tested on

See also

References

wiki/shorewall_setup.txt · Last modified: 2024/04/05 14:00 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki