Skip to content

Commit

Permalink
open vxlan for DHCP
Browse files Browse the repository at this point in the history
  • Loading branch information
angelnu committed Oct 5, 2024
1 parent 28ddb13 commit 6e4dd9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/gateway_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ if [[ -n "$VPN_INTERFACE" ]]; then
done
done </config/nat.conf

echo "Allow DHCP traffic from vxlan"
iptables -A INPUT -i vxlan0 -p udp --sport=68 --dport=67 -j ACCEPT

echo "Setting iptables for VPN with NIC ${VPN_INTERFACE}"
# Firewall incomming traffic from VPN
echo "Accept traffic alredy ESTABLISHED"
Expand Down

0 comments on commit 6e4dd9a

Please sign in to comment.