Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Ubuntu-iptables configuration

Shulou Source: shulou.com Published: 2022-06-01 04:45:54 10月05日 Update

The system installed by default by ubuntu-server does not have a firewall iptables installed

Only the configuration file: / etc/iptables.rules

However, it doesn't matter. You can edit the configuration as follows:

# vi / etc/iptables.rules adds its own rules

Use the command to save:

# iptables-restore-c / etc/iptables.rules is effective immediately. (no need to install iptables)

# iptables-L-n View rules

Tags: Configuration rules only commands files systems firewalls fire protection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei vpn macOS Linux Docker