"Fossies" - the Fresh Open Source Software Archive

Member "aif-2.1.1/etc/arno-iptables-firewall/plugins/outbound-snat.conf" (16 Sep 2020, 987 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 "outbound-snat.conf": 2.0.3_vs_2.1.0.

    1 # ------------------------------------------------------------------------------
    2 #           -= Arno's Iptables Firewall(AIF) - Outbound SNAT plugin =-
    3 # ------------------------------------------------------------------------------
    4 
    5 # To actually enable this plugin make ENABLED=1:
    6 # ------------------------------------------------------------------------------
    7 ENABLED=0
    8 
    9 # When a NAT'ed external interface has multiple IPv4 addresses, it may be
   10 # desirable to specify which internal IP's or CIDR's use which external
   11 # IPv4 addresses for outbound connections.
   12 #
   13 # Format: (space or comma separated)
   14 #   "SRCIP1>VIAIP1 SRCIP2>VIAIP2 ... SRCIPn>VIAIPn"
   15 #
   16 # Note 1: SRCIP (internal) may be a single IP or CIDR address.
   17 #
   18 # Note 2: VIAIP (external) must be a single IP address
   19 # 
   20 # Example:
   21 #   OUTBOUND_SNAT_NET_HOST="192.168.1.20>1.2.3.10 192.168.10/24>1.2.3.11"
   22 # (IPv4 Only)
   23 # ------------------------------------------------------------------------------
   24 OUTBOUND_SNAT_NET_HOST=""
   25