shorewall 101
Starting with shorewall
Shorewall is a high-level firewall solution that uses iptables internally.
Config files are in /etc/shorewall. The main ones are:
Shorewall is a high-level firewall solution that uses iptables internally.
- shorewall intro
- quickstart guide for standalone firewall
- shorewall configuration files
- shorewall setup guide : in depth guide to setting up a shorewall environment
- operating shorewall
Config files are in /etc/shorewall. The main ones are:
- shorewall.conf : general server behaviour parameters
- zones : list of configured zones (default: 'net' + 'fw') from/to which packages can travel
- interfaces : associates zones with network interfaces (e.g. 'net' -> eth0)
- policy : default policy for connections from one zone to another (e.g. "net all DROP $LOG", "fw all ACCEPT $LOG", "all all REJECT $LOG")
- rules : exceptions to default policies (e.g "ACCEPT net fw tcp 80" where 'ACCEPT' is the action, 'net' is the source zone, 'fw' is the destination zone, 'tcp' the protocol, and '80' the destination port - so this rule opens up port 80 for incoming TCP traffic on eth0)
- fw : the firewall itself
- net : the internet, by default attached to eth0
Comments