"Fossies" - the Fresh Open Source Software Archive

Member "ferm-2.5.1/test/misc/subchain.result" (24 Jan 2020, 1395 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 "subchain.result": 2.5_vs_2.5.1.

    1 iptables -t nat -N ferm_auto_4
    2 iptables -t nat -A ferm_auto_4 -s 192.168.1.0/24 -j MASQUERADE
    3 iptables -t nat -A POSTROUTING -o ppp0 -j ferm_auto_4
    4 iptables -t nat -N ferm_auto_5
    5 iptables -t nat -A ferm_auto_5 -s 192.168.2.0/24 -j MASQUERADE
    6 iptables -t nat -A POSTROUTING -o wlan0 -g ferm_auto_5
    7 iptables -t filter -N ferm_auto_3
    8 iptables -t filter -N my-udp_subchain
    9 iptables -t filter -N ferm_auto_2
   10 iptables -t filter -N ferm_auto_1
   11 iptables -t filter -N in_icmp
   12 iptables -t filter -A INPUT -p udp -j my-udp_subchain
   13 iptables -t filter -A INPUT -p tcp -j ferm_auto_1
   14 iptables -t filter -A INPUT -i eth1 -s 1.2.3.4 -j ferm_auto_2
   15 iptables -t filter -A INPUT -i eth1 -s 1.2.3.5 -j ferm_auto_2
   16 iptables -t filter -A INPUT -i eth1 -s 2.3.4.5 -j ferm_auto_2
   17 iptables -t filter -A INPUT -p icmp -j in_icmp
   18 iptables -t filter -A ferm_auto_3 -p tcp --dport ssh -j ACCEPT
   19 iptables -t filter -A ferm_auto_3 -j REJECT
   20 iptables -t filter -A in_icmp -p icmp --icmp-type 11 -j DROP
   21 iptables -t filter -A my-udp_subchain -d 192.168.1.0/24 -j ACCEPT
   22 iptables -t filter -A ferm_auto_2 -p tcp -j ferm_auto_3
   23 iptables -t filter -A ferm_auto_1 -p tcp --dport http -j ACCEPT
   24 iptables -t filter -A ferm_auto_1 -p tcp --dport https -j ACCEPT
   25 iptables -t filter -A ferm_auto_1 -p tcp --dport 445 -j TARPIT
   26 iptables -t filter -A ferm_auto_1 -p tcp --dport 137:139 -j TARPIT
   27 iptables -t filter -A ferm_auto_1 -j DROP