Hi. I have a Mikrotik RB2011 with this configuration:
- PUBLIC WAN ASSIGNED TO PORT 1
- LOCAL IP 192.168.1.1 ASSIGNED TO PORT 3
- LOCAL IP 192.168.165.1 ASSIGNED TO PORT 4
- AN IPSEC CONNECTION VPN THAT RECEIVES TRAFFIC FROM 192.168.165.0/24
- A NAT RULE TO ALLOW ALL TRAFFIC FROM 192.168.165.0/24 TO 53.0.0.0/8 (IP AT OTHER SIDE OF VPN)
If I give a computer the IP 192.168.165.5, for example, and make ping to a computer on the VPN, for example 53.69.212.5, the ping works well.
My goal is to make that computers that have IP of range 192.168.1.0/24 can reach computers of 53.0.0.0/8 without modifying the PCs IPs. It’s to say, I want to tell router that all traffic sent from 192.168.1.0/24 have to be sent to VPN and marked as it were from 192.168.165.0/24 (because at other side of VPN can only arrive traffic from this network).
I want to do this to don’t need to change all the local IP of computers from 192.168.1.x to 192.168.165.x. I tried some things, but I can’t achieve this. Thanks a lot.
Kind regards.