Easy Firewall with Firehol

Install Packages

  • firehol_3.0.1+ds-1_all.deb
  • firehol-doc_3.0.1+ds-1_all.deb
  • firehol-common_3.0.1+ds-1_all.deb
  • iprange_1.0.2+ds-1_amd64.deb

Config Files

/etc/firehol/
├── firehol.conf
├── firehol-defaults.conf
└── services/
    ├── mosh.conf
    └── shadowsocks.conf

firehol.conf

# FireHOL configuration file

version 6

interface4 any world  
        server ping accept
        server ssh,mosh accept
        server http,https accept
        server shadowsocks accept
        client all accept

mosh.conf

#FHVER: 1:213

server_mosh_ports="udp/60000:61000"  
client_mosh_ports="default"  

shadowsocks.conf

#FHVER: 1:213

server_shadowsocks_ports="tcp/8388 udp/8388"  
client_shadowsocks_ports="default"  

Quick Start

$ firehol try
$ firehol explain
$ iptables-save | less