"Fossies" - the Fresh Open Source Software Archive

Member "aif-2.1.1/etc/arno-iptables-firewall/plugins/nat-loopback.conf" (16 Sep 2020, 1768 Bytes) of package /linux/privat/aif-2.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "nat-loopback.conf": 2.0.3_vs_2.1.0.

    1 # ------------------------------------------------------------------------------
    2 #           -= Arno's Iptables Firewall(AIF) - NAT Loopback plugin =-
    3 # ------------------------------------------------------------------------------
    4 
    5 # To actually enable this plugin make ENABLED=1:
    6 # ------------------------------------------------------------------------------
    7 ENABLED=0
    8 
    9 # NAT Loopback for local nets using existing NAT_FORWARD_TCP and NAT_FORWARD_UDP
   10 # rules.
   11 # Note: The default external IPv4 address is obtained from the first
   12 #       interface defined in the EXT_IF variable.
   13 #
   14 # Limit local nets by defining NAT_LOOPBACK_NET, a space separated list.
   15 # Defaults to NAT_INTERNAL_NET if not defined.
   16 #
   17 # Example:
   18 #   NAT_LOOPBACK_NET="192.168.1.0/24"
   19 # (IPv4 Only)
   20 # ------------------------------------------------------------------------------
   21 NAT_LOOPBACK_NET=""
   22 
   23 # When local servers are in another LAN they are unreachable (by default) unless
   24 # FORWARD rules are created.  When NAT_LOOPBACK_FORWARD is set to "1" the
   25 # FORWARD rules to the servers are created for all subnets in NAT_LOOPBACK_NET.
   26 #
   27 # Defaults to no added forwards if not set to "1"
   28 # ------------------------------------------------------------------------------
   29 NAT_LOOPBACK_FORWARD=0
   30 
   31 # When this plugin's status is called, if the default external IPv4 address
   32 # has changed, the NAT_LOOPBACK_DNAT and NAT_LOOPBACK_SNAT chains will be
   33 # updated with the new address. Set NAT_LOOPBACK_UPDATE_ON_STATUS to "0"
   34 # to disable this automatic update on status.
   35 #
   36 # Example:
   37 #   $ arno-iptables-firewall status-plugins nat-loopback
   38 #
   39 # Defaults to update on status if not set to "0"
   40 # ------------------------------------------------------------------------------
   41 NAT_LOOPBACK_UPDATE_ON_STATUS=1
   42