dump 6.55 KB
Newer Older
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
Ipset awall-masquerade  {"family":"inet","type":"hash:net"}
(masquerade)            


Log _default  {"limit":1}
(defaults)    


Service babel         {"port":6697,"proto":"tcp"}
(services)            

Service bacula-dir    {"port":9101,"proto":"tcp"}
(services)            

Service bacula-fd     {"port":9102,"proto":"tcp"}
(services)            

Service bacula-sd     {"port":9103,"proto":"tcp"}
(services)            

Service bgp           {"port":179,"proto":"tcp"}
(services)            

Service dhcp          {"family":"inet","port":[67,68],"proto":"udp"}
(services)            

Service discard       [{"port":9,"proto":"udp"},{"port":9,"proto":"tcp"}]
(services)            

Service dns           [{"port":53,"proto":"udp"},{"port":53,"proto":"tcp"}]
(services)            

Service epmap         [{"port":135,"proto":"tcp"},{"port":135,"proto":"udp"}]
(services)            

Service ftp           {"ct-helper":"ftp","port":21,"proto":"tcp"}
(services)            

Service gre           {"proto":"gre"}
(services)            

Service hp-pdl        {"port":9100,"proto":"tcp"}
(services)            

Service http          {"port":80,"proto":"tcp"}
(services)            

Service http-alt      {"port":8080,"proto":"tcp"}
(services)            

Service https         {"port":443,"proto":"tcp"}
(services)            

Service icmp          {"proto":"icmp"}
(services)            

Service igmp          {"proto":"igmp"}
(services)            

Service imap          {"port":143,"proto":"tcp"}
(services)            

Service imaps         {"port":993,"proto":"tcp"}
(services)            

Service ipsec         [{"proto":"esp"},{"port":[500,4500],"proto":"udp"}]
(services)            

Service irc           {"ct-helper":"irc","port":6667,"proto":"tcp"}
(services)            

Service kerberos      [{"port":88,"proto":"tcp"},{"port":88,"proto":"udp"}]
(services)            

Service kpasswd       [{"port":464,"proto":"tcp"},{"port":464,"proto":"udp"}]
(services)            

Service l2tp          {"port":1701,"proto":"udp"}
(services)            

Service ldap          [{"port":389,"proto":"tcp"},{"port":389,"proto":"udp"}]
(services)            

Service ldaps         [{"port":636,"proto":"tcp"},{"port":636,"proto":"udp"}]
(services)            

Service microsoft-ds  [{"port":445,"proto":"tcp"},{"port":445,"proto":"udp"}]
(services)            

Service ms-sql-m      {"port":1434,"proto":"tcp"}
(services)            

Service ms-sql-s      {"port":1433,"proto":"tcp"}
(services)            

Service msft-gc       [{"port":3268,"proto":"tcp"},{"port":3268,"proto":"udp"}]
(services)            

Service msft-gc-ssl   [{"port":3269,"proto":"tcp"},{"port":3269,"proto":"udp"}]
(services)            

Service netbios-ds    [{"port":138,"proto":"tcp"},{"port":138,"proto":"udp"}]
(services)            

Service netbios-ns    [{"family":"inet","port":137,"proto":"tcp"},{"ct-helper":"netbios-ns","family":"inet","port":137,"proto":"udp"}]
(services)            

Service netbios-ssn   [{"port":139,"proto":"tcp"},{"port":139,"proto":"udp"}]
(services)            

Service ntp           {"port":123,"proto":"udp"}
(services)            

Service ospf          {"proto":"ospf"}
(services)            

Service pgsql         {"port":5432,"proto":"tcp"}
(services)            

Service ping          [{"proto":"icmp","reply-type":0,"type":8},{"proto":"icmpv6","reply-type":129,"type":128}]
(services)            

Service pop3          {"port":110,"proto":"tcp"}
(services)            

Service pop3s         {"port":995,"proto":"tcp"}
(services)            

Service radius        [{"port":1812,"proto":"udp"},{"port":1812,"proto":"tcp"}]
(services)            

Service radius-acct   [{"port":1813,"proto":"udp"},{"port":1813,"proto":"tcp"}]
(services)            

Service rdp           {"port":3389,"proto":"tcp"}
(services)            

Service rsync         {"port":873,"proto":"tcp"}
(services)            

Service rtmp          {"port":1935,"proto":"tcp"}
(services)            

Service rtsp          {"port":554,"proto":"tcp"}
(services)            

Service sieve         {"port":4190,"proto":"tcp"}
(services)            

Service sip           [{"ct-helper":"sip","port":5060,"proto":"udp"},{"ct-helper":"sip","port":5060,"proto":"tcp"}]
(services)            

Service sip-tls       [{"port":5061,"proto":"udp"},{"port":5061,"proto":"tcp"}]
(services)            

Service smtp          {"port":25,"proto":"tcp"}
(services)            

Service snmp          {"port":161,"proto":"udp"}
(services)            

Service snmp-trap     {"port":162,"proto":"udp"}
(services)            

Service ssh           {"port":22,"proto":"tcp"}
(services)            

Service submission    {"port":587,"proto":"tcp"}
(services)            

Service syslog        {"port":514,"proto":"udp"}
(services)            

Service telnet        {"port":23,"proto":"tcp"}
(services)            

Service teredo        {"port":3544,"proto":"udp"}
(services)            

Service tftp          {"port":69,"proto":"udp"}
(services)            

Service vnc           {"port":5900,"proto":"tcp"}
(services)            


Variable awall_tproxy_mark  1
(defaults)                  


# ipset awall-masquerade
hash:net family inet


# rules-save generated by awall
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
:icmp-routing - [0:0]
-A FORWARD -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A FORWARD -p icmp -j icmp-routing
-A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -j icmp-routing
-A OUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -p icmp -j icmp-routing
-A icmp-routing -p icmp --icmp-type 3 -j ACCEPT
-A icmp-routing -p icmp --icmp-type 11 -j ACCEPT
-A icmp-routing -p icmp --icmp-type 12 -j ACCEPT
COMMIT
*nat
:POSTROUTING ACCEPT [0:0]
:awall-masquerade - [0:0]
-A POSTROUTING -m set --match-set awall-masquerade src -j awall-masquerade
-A awall-masquerade -m set ! --match-set awall-masquerade dst -j MASQUERADE
COMMIT

# rules6-save generated by awall
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
:icmp-routing - [0:0]
-A FORWARD -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A FORWARD -p icmpv6 -j icmp-routing
-A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmpv6 -j ACCEPT
-A OUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -p icmpv6 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 1 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 2 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 3 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 4 -j ACCEPT
COMMIT