Add return forward rule for network routes #191

Closed
opened 2025-11-20 05:07:44 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @mlsmaycon on GitHub (Sep 26, 2022).

Originally assigned to: @mlsmaycon on GitHub.

In some cases, the default FORWARD rule will be set to DROP, making return traffic to be dropped and communication to fail.

We can create a new forwarding rule for the return traffic e.g:

iptables -A NETBIRD-RT-FWD -s 100.64.0.0/16 -d 172.16.1.0/24 -m comment --comment netbird-fwd-out-ttt -j 
iptables -A NETBIRD-RT-FWD -s 172.16.1.0/24 -d 100.64.0.0/16 -m comment --comment netbird-fwd-in-ttt -j 
Originally created by @mlsmaycon on GitHub (Sep 26, 2022). Originally assigned to: @mlsmaycon on GitHub. In some cases, the default FORWARD rule will be set to DROP, making return traffic to be dropped and communication to fail. We can create a new forwarding rule for the return traffic e.g: ```shell iptables -A NETBIRD-RT-FWD -s 100.64.0.0/16 -d 172.16.1.0/24 -m comment --comment netbird-fwd-out-ttt -j iptables -A NETBIRD-RT-FWD -s 172.16.1.0/24 -d 100.64.0.0/16 -m comment --comment netbird-fwd-in-ttt -j ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#191