From: Mark Wooding Date: Tue, 6 Mar 2012 23:26:10 +0000 (+0000) Subject: local.m4: Allow dmz/jump packets on unsafe/colo networks and vice versa. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/firewall/commitdiff_plain/ce6434f7d5bcd51d8bf006e38d7b25dcbf8b518f?hp=ce6434f7d5bcd51d8bf006e38d7b25dcbf8b518f local.m4: Allow dmz/jump packets on unsafe/colo networks and vice versa. The routing asymmetry is too grim otherwise. Consider: * ibanez and vampire are both on dmz and unsafe; * vampire is a router on dmz, unsafe, and vpn, while ibanez is not a router; * crybaby is on vpn; * crybaby attempts to connect to ibanez.dmz. Now ibanez will respond with its dmz address as the source, and crybaby's vpn address as the destination. Based on the destination, it will choose to route the packet over the unsafe network. We must therefore let vampire know that this is a possibility. Similarly, ibanez must be prepared to allow packets from unsafe on its dmz interface because it's not a router: hence, to reach their destination, they'll have to be pushed over dmz by a router. It's therefore inevitable that we must abandon separation between these two networks (or start fiddling with policy routing, which just seems like more pain than it's worth). ---