resumeger.blogg.se

Debian iptables
Debian iptables










to install it: apt install iptables-persistent iptables-persistent create the config files and use the package netfilter-persistent to reload or save iptables rules now the iptables config files are at folder /etc/iptables/rules.v4 /etc/iptables/rules. Another way is to put a web server like Nginx or Apache in front of. iptables-persistent has been recommand on debian wiki many times. * Depend on lsb-base (Closes: #608531) * Improve package description * Only autosave rules on first package installation, not on upgrades * Debconf templates and debian/control reviewed by the debian-l10n-english team as part of the Smith review project. sudo iptables -t nat -A PREROUTING -p tcp -dport 80 -j REDIRECT -to-port 3000. REJECT: reject the packet with an ICMP error packet (the -reject-with type option to iptables allows selecting the type of error) DROP: delete (ignore). A nice set of scripts that illustrate how to use iptables comes from Oskar Andreasson.

debian iptables

Iptables-persistent (0.5.1) unstable urgency=low Boot Up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE.












Debian iptables