hi juan,
i get the point - but, is there any higher problem with your current connection (why you need to re-map once again?) - they already worked didnt they?
or perhaps you need to LOG which remote IP doing transaction with which local apps?
Quote:
If I only use routing the remote machine always will see my traffic from one of my public IPs.
|
ok - the racoon set the tunnel 1 to 1, 2 to 2 and so forth,
if that has already worked then the next step is doing my "ip rule" proposal (please read the manual carefully - its there) - so your NIC can understand which traffic come from which side of NIC (which vlan) and should be directed to which which remote IP. you can do this with iproute2 - even per single IP.
i have a little clue on my blog
"doing PBR" - but it uses iptables as filter - not ip rule - but i hope you get the picture.
i think its better to start one at a time - beginning from the remote IP.
HTH.