"Fossies" - the Fresh Open Source Software Archive

Member "ferm-2.5.1/test/modules/multiport.ferm" (24 Jan 2020, 490 Bytes) of package /linux/privat/ferm-2.5.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "multiport.ferm": 2.5_vs_2.5.1.

    1 table filter chain INPUT mod multiport {
    2     proto tcp source-ports (1 2 3) ACCEPT;
    3     proto udp destination-ports (3 5 6 7 8 9) ACCEPT;
    4     proto tcp ports (1024 1234) ACCEPT;
    5     proto tcp destination-ports (100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115) ACCEPT;
    6     proto tcp destination-ports (100:110 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215) DROP;
    7     proto udp destination-ports () ACCEPT;
    8     proto tcp destination-ports !(200 201 202) DROP;
    9 }