mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
firewall: allow SSH access to bridge interface
Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -458,6 +458,7 @@ iptables_init() {
|
||||
ip link set $FWBRIDGE up
|
||||
ip a add $FWBRIDGEIP/$FWBRIDGEMASK dev $FWBRIDGE
|
||||
iptables -t filter -A GUIINPUT -i $FWBRIDGE -p tcp -m tcp --dport 444 -j ACCEPT
|
||||
iptables -t filter -A GUIINPUT -i $FWBRIDGE -p tcp -m tcp --dport 22 -j ACCEPT
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user