mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-suricata
This commit is contained in:
@@ -300,7 +300,7 @@ iptables_init() {
|
||||
iptables -N OVPNINPUT
|
||||
iptables -A INPUT -j OVPNINPUT
|
||||
|
||||
# TOR
|
||||
# Tor
|
||||
iptables -N TOR_INPUT
|
||||
iptables -A INPUT -j TOR_INPUT
|
||||
|
||||
@@ -420,15 +420,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
|
||||
@@ -476,7 +467,7 @@ iptables_red_up() {
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user