"Fossies" - the Fresh Open Source Software Archive

Member "ferm-2.6/test/misc/ipfilter.result" (30 Jan 2021, 708 Bytes) of package /linux/privat/ferm-2.6.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 "ipfilter.result": 2.5.1_vs_2.6.

    1 iptables -t filter -A INPUT -s 192.168.0.40 -p tcp --dport ssh -j ACCEPT
    2 ip6tables -t filter -A INPUT -s 2001:abcd:ef::40 -p tcp --dport ssh -j ACCEPT
    3 iptables -t filter -A INPUT -s 192.168.0.40 -j ACCEPT
    4 ip6tables -t filter -A INPUT -s 2001:abcd:ef::40 -j ACCEPT
    5 iptables -t filter -A INPUT -s 192.168.0.0/24 -o eth0 -j SNAT --to-source 10.0.0.1
    6 ip6tables -t filter -A INPUT -s 2001:abcd:ef::/64 -o eth0 -j SNAT --to-source 2001:efff::1
    7 iptables -t filter -A OUTPUT -d 192.168.0.40 -p tcp --dport ssh -j ACCEPT
    8 ip6tables -t filter -A OUTPUT -d 2001:abcd:ef::40 -p tcp --dport ssh -j ACCEPT
    9 iptables -t filter -A FORWARD ! -d 192.168.0.40 -j DROP
   10 ip6tables -t filter -A FORWARD ! -d 2001:abcd:ef::40 -j DROP