iptables

Program that allows configuration of tables, chains and rules provided by the Linux kernel firewall.

=> More information.

sudo iptables -vnL
sudo iptables -P {chain} {rule}
sudo iptables -A {chain} -s {ip} -j {rule}
sudo iptables -A {chain} -s {ip} -p {protocol} --dport {port} -j {rule}
sudo iptables -t {nat} -A {POSTROUTING} -s {192.168.0.0/24} -j {MASQUERADE}
sudo iptables -D {chain} {rule_line_number}
sudo iptables-save -t {tablename} > {path/to/iptables_file}
sudo iptables-restore < {path/to/iptables_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

=> CC-BY

Proxy Information
Original URL
gemini://freeshell.de/tldr/iptables.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
104.477364 milliseconds
Gemini-to-HTML Time
0.422941 milliseconds

This content has been proxied by September (ba2dc).