]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Merge branch 'ipsec' into next
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Feb 2019 00:48:08 +0000 (00:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Feb 2019 00:48:08 +0000 (00:48 +0000)
1  2 
src/initscripts/system/firewall

index b9dd3485e0b6eff8847af09419cd3cded25859ae,1ffeda993bbd3ee82235c599ddef3bc7089dbe45..2739a683432b12803b180367070019d83204a2f9
@@@ -294,7 -294,7 +294,7 @@@ iptables_init() 
        iptables -N OVPNINPUT
        iptables -A INPUT -j OVPNINPUT
  
 -      # TOR
 +      # Tor
        iptables -N TOR_INPUT
        iptables -A INPUT -j TOR_INPUT
        
        iptables -t nat -N REDNAT
        iptables -t nat -A POSTROUTING -j REDNAT
  
-       # Populate IPsec block chain
-       /usr/lib/firewall/ipsec-block
+       # Populate IPsec chains
+       /usr/lib/firewall/ipsec-policy
  
        # Apply OpenVPN firewall rules
        /usr/local/bin/openvpnctrl --firewall-rules
@@@ -414,6 -414,15 +414,6 @@@ iptables_red_up() 
                iptables -A REDINPUT -p udp --source-port 67 --destination-port 68 -i $DEVICE -j ACCEPT
        fi
  
 -      # Orange pinholes
 -      if [ "$ORANGE_DEV" != "" ]; then
 -              # This rule enables a host on ORANGE network to connect to the outside
 -              # (only if we have a red connection)
 -              if [ "$IFACE" != "" ]; then
 -                      iptables -A REDFORWARD -i $ORANGE_DEV -o $IFACE -j ACCEPT
 -              fi
 -      fi
 -
        if [ "$IFACE" != "" -a -f /var/ipfire/red/active ]; then
                # DHCP
                if [ "$RED_DEV" != "" -a "$RED_TYPE" == "DHCP" ]; then
  
  iptables_red_down() {
        # Prohibit packets to reach the masquerading rule
 -      # while the wan interface is down - this is required to
 +      # while the WAN interface is down - this is required to
        # circumvent udp related NAT issues
        # http://forum.ipfire.org/index.php?topic=11127.0
        if [ -n "${IFACE}" ]; then