Traffic from OnPrem nodes behind GW to Cloud fails
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
Medium
|
Adam Kulagowski | |||
Trunk |
Fix Committed
|
Medium
|
Adam Kulagowski |
Bug Description
The default action for Chain Forward in iptables is set to Drop so the pkts from the private interface of GW to tap0 interface gets dropped. We need to add a rule to fwd pkts between tap0 and pvt_interface. Need to add rules 5 and 6 in the below output as part of provisioning.
Chain FORWARD (policy DROP 12 packets, 688 bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT all -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
2 0 0 DOCKER all -- * docker0 0.0.0.0/0 0.0.0.0/0
3 0 0 ACCEPT all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0
4 0 0 ACCEPT all -- docker0 docker0 0.0.0.0/0 0.0.0.0/0
5 17 1440 ACCEPT all -- tap0 bond0 0.0.0.0/0 0.0.0.0/0
6 14 1164 ACCEPT all -- bond0 tap0 0.0.0.0/0 0.0.0.0/0
tags: | added: beta-blocker |
The iptables rules that was applied on the GW to get this working was :
iptables -t filter -A FORWARD -i bond0 -o tap0 -j ACCEPT
iptables -t filter -A FORWARD -i tap0 -o bond0 -j ACCEPT
The pvt customer facing subnet was on the bond0 and the cloud facing subnet on tap0.