Hi.
What exact configuration I have to need for access to remote LAN witch two subnets via VPN ?
VPN tunnel works ok. But on remote LAN are subnets 192.168.1.0/24 and 192.168.2.0/24. On remote router is on its LAN both gateway 192.168.1.1 and 192.168.1.2
If in VPN server config is as local and remote IP address set pool from one of above subnets, then are accesible devices only from that subnet. Forexample.
I need access on devces on both subnets simultaneosly. Thank you.
I won’t suggest handing out IPs from the same subnet. The better approach is to have a dedicated IP range for VPN.
Then just add filter rules to allow traffic between VPN pool and the specified subnets.
-Chris
example plis how do this?
Say, you create a pool for VPN in 192.168.3.0/24
Then create those rules:
/ip firewall filter
add src-address=192.168.3.0/24 dst-address=192.168.1.0/24 action=accept
add src-address=192.168.3.0/24 dst-address=192.168.2.0/24 action=accept
add src-address=192.168.1.0/24 dst-address=192.168.3.0/24 action=accept
add src-address=192.168.2.0/24 dst-address=192.168.3.0/24 action=accept
And off you go.
-Chris
Oh MAN, Thank you very much. Thats help. All working fine now. You have not idea how you help me. THANK YOU VERY MUCH !! regards Robo.K.
Glad to hear it works and I was able to help.
Cheers
-Chris