I have an OPNSense 25.1.10 BGP router. The network is something like this:
BGP1: 1.2.3.4/29
BGP2: 2.3.4.5/29
IPBlock: 4.3.2.1/24
LAN: 192.168.10.1/24
The problem I am having is when the router goes to initiate an outbound connection, it chooses an IP from the BGP side, and not the 4.3.2.1 IP from the routed block. This is causing problems with an IPSec VPN and outbound NAT.
How can I have the router use 4.3.2.1 to initiate outbound connections for both itself and to NAT the internal LAN?
BGP1: 1.2.3.4/29
BGP2: 2.3.4.5/29
IPBlock: 4.3.2.1/24
LAN: 192.168.10.1/24
The problem I am having is when the router goes to initiate an outbound connection, it chooses an IP from the BGP side, and not the 4.3.2.1 IP from the routed block. This is causing problems with an IPSec VPN and outbound NAT.
How can I have the router use 4.3.2.1 to initiate outbound connections for both itself and to NAT the internal LAN?