Thanx for the reply,
Looks lke a good link Briank, need to get in to that one, sometime.
I needed 2 seperate servers, since the 2 servers are for 2 companies that work together (but they have there own users, mail etc.)
My problem is solved, however.
Didn't mangle the dns, though.
Because one of the SME servers used to be behind a natting router, only NET-2-NET ipsec was set up. (others can't work: external gateway ip != true ip)
Therefore redirecting or changed DNS was nessecary to get the traffic on the internal interface.
We changed the setup of the DSL, so the external interface was truly the external interface, and all 3 tunnels were enabled. NET-2-NET, GATEWAY-2-GATEWAY, and NET-2-GATEWAY. Problem solved: all traffic will arive locally over the ipsec.
As allways the solution just lies in front of you.
Little note for he who wants to now:
Some DSL providers have a gateway address which is not on the same subnet as your external ip. The standard _updown script in /usr/local/lib/ipsec/_updown will choke in the routing (Can't add route)
In the updown script add a extra route for dev ipsec0:
route add [yourgatewayhere] dev ipsec0
Grz,
Richard.