How to choose outgoing IP for local traffic to ipsec tunnel?
I have working pfsense setup - a few vlans, outbound wan interface, ipsec tunnel to headquaters. It is fine for clients - ipsec is correctly passed to tunnel, the rest of traffic goes to internet.
But there is a problem with traffic originating localy from pfsence destined to headquaters. This traffic has WAN IP as a source and therefore is is not passed to tunnel but sent directly to internet. I need to find a way how to set source IP (IP of one of the other interfaces) for localy generated traffic. Something like 'src' in linux command 'ip route add XXXXX via XXXX src XXXX'.
Can you help me?