Hello list, I had a perfectly working setup that I built ontop of a machine that never rebooted for several months. Multiple interfaces, multiple IP addresses on the same machine, the default source address has always been 192.168.22.10 in routing table 220. After the last reboot, I found out that the routing table came different:
~# ip route show table 220 192.168.12.0/24 via X.X.X.X dev ppp0 proto static src 192.168.35.10 192.168.33.0/24 via X.X.X.X dev ppp0 proto static src 192.168.35.10 192.168.55.0/24 via X.X.X.X dev ppp0 proto static src 192.168.35.10 192.168.66.0/24 via X.X.X.X dev ppp0 proto static src 192.168.35.10 Before, the 192.168.35.10 source address was 192.168.22.10 and everything was setup around this. To overcome this situation, my first solution was to SNAT a lot and it's working alright, but not for the SIP protocol for example, and I'm stuck there. So I was wondering if there was any kind of control over the source address in the routing table 220 that would allow me to set 192.168.22.10 back again. This 192.168.35.10 is not even the source address for the default gateway, so I really wonder why StrongSWAN choses this address as the source one. Any idea? Thanks! Hoggins!
signature.asc
Description: OpenPGP digital signature