Community discussions

MikroTik App
 
spike232
just joined
Topic Author
Posts: 19
Joined: Thu Mar 31, 2011 10:09 pm

IPSec VPN to multiple subnets

Sat Apr 16, 2011 10:58 pm

I am using RouterOS 5.1, I have an IPSec VPN setup to a cisco router, its LAN is subnet1, it has a route to subnet2.

With the IPSec tunnel setup i can get to subnet1 but not subnet2.
From what i have read this is due to the IPSec policy, to fix this it seems to suggest adding another policy with subnet2 and any no nat rules.

I have done this however it does not work as expected, it seems only 1 policy is used at a time, eg
No VPN
ping host on subnet1
vpn connects
host on subnet1 replies
ping subnet2
no reply
kill vpn
ping host on subnet2
vpn connects
host on subnet2 replies
ping subnet1
no reply

so i can have one or other, how can i be able to access both subnets at the same time?
 
duvi
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Fri Jun 05, 2009 12:32 pm
Contact:

Re: IPSec VPN to multiple subnets

Sun Apr 17, 2011 11:51 am

Set level to unique in all ipsec policies.
 
spike232
just joined
Topic Author
Posts: 19
Joined: Thu Mar 31, 2011 10:09 pm

Re: IPSec VPN to multiple subnets

Sun Apr 17, 2011 5:40 pm

That worked great, Thanks!