[Openswan Users] Tunnel headends

Andrei-Florian Staicu andrei.staicu at ipso.ro
Fri Mar 23 17:30:23 EDT 2007


Andy Gay wrote:
> On Fri, 2007-03-23 at 15:13 +0200, Andrei-Florian Staicu wrote:
>   
>> 192.168.3.0/24===<extipA>[@srvA]...<extipB>[@srvB]===192.168.4.0/24
>>     
> Yes, use <left/right>sourceip.
>
> Assuming your conns are written with left/right as you show above,
> use leftsourceip=192.168.3.1 on srvA, rightsourceip=192.168.4.1 on srvB.
>
> E.g. if the conn on srvA has leftsubnet=192.168.3.1/24, then add
> leftsourceip=192.168.3.1. Similarly on srvB, if it has
> rightsubnet=192.168.4.0/24, then add rightsourceip=192.168.4.1.
>   
It works like a charm, thank you very much.
I would like to ask you something else (and this is the last one), 
though: what happens if behind srvB i have another subnet, let's say 
10.0.0.0/24, with 10.0.0.1 on srvB and i want to access it from location 
A? Can i route it through the tunnel? Or what steps should i take?

Thanks

-- 
Andrei-Florian STAICU
Network administrator
Tel: (+40) 741.227.014
IPSO S.A.




More information about the Users mailing list