Pretty simple setup here: VLAN 900 can hit the remote subnet no problem, now we want VLAN 1000 to as well. Can't have multiple subnets in the child SA definition on Cisco so we need to NAT the VPN traffic from VLAN 1000 through VLAN 900. Sounds like exactly the setup described in this document, but we can't get it working.
We:
What am I missing here?
Code Select
┌──────────────┐ ┌────────────────┐
│ │ │ │
│ VLAN 1000 │ │ VLAN 900 │
│ │ │ │
│ 10.10.0.0/24 │ │192.168.246.0/24│
│ │ │ │
└───────────┬──┘ └────┬───────────┘
│ │
│ │
┌───────▼─────────▼─────┐ ┌───────────────────────┐
│ │──────────IPsec Tunnel──────────────────│ │
│ Opnsense │ 192.168.246.0/24 <=> 192.168.241.0/24 │ Cisco │
│ │────────────────────────────────────────│ │
│ │ └──────────┬────────────┘
└───────────────────────┘ │
│
┌───────▼────────┐
│ │
│192.168.241.0/24│
│ │
└────────────────┘
We:
- edited the child SA with reqid 241
- added an SPD entry with reqid 241 and source network 10.10.0.0/24
- restarted the IPsec service
- confirmed the SPD entry is installed
- added a one-to-one NAT entry with interface IPsec, type BINAT, external network 192.168.246.0/24, source/internal 10.10.0.0/24, and destination 192.168.241.0/24
- applied changes
- confirmed configuration shows in `pfctl -s nat`
- confirmed outbound firewall rules for IPsec, VLAN 900, and VLAN 1000 will all pass any traffic
What am I missing here?
"