Hi everybody.
Say, we have many VM in 10.42.x.y
One is on 10.42.a.b
Host is on 10.42.1.z and gateway is on 10.42.0.254
We need to reject all traffic from/to 10.42.a.b to/from 10.42.0.0/16 BUT accept all traffic from/to 10.42.a.b to/from 10.42.0.254
Say the rule in plain english,
Say, we have many VM in 10.42.x.y
One is on 10.42.a.b
Host is on 10.42.1.z and gateway is on 10.42.0.254
We need to reject all traffic from/to 10.42.a.b to/from 10.42.0.0/16 BUT accept all traffic from/to 10.42.a.b to/from 10.42.0.254
Say the rule in plain english,
- Reject all traffic from 10.42.a.b to 10.42.0.0/16 except to 10.42.0.254
- Reject all traffic from 10.42.0.0/16 except from 10.42.0.254 to 10.42.a.b
- Accept all traffic from elsewhere to 10.42.a.b
- Accept all traffic to elsewhere from 10.42.a.b