Hello, I have create an VPN Tunnel L2TP with IPSec between RB2011iL(L2TP Server) and hEX PoE lite( L2TP Client). My problem is at the client side (hEX PoE lite) I have NAT, but I don't want it. At the Server side(RB2011iL) I don't have NAT. Server side have the 192.168.1.0/24 network and the client side the 192.168.3.0/24 network. Here is my configuration.
You need to make your NAT rules a little more specific in the client router.
If the VPN creates a tunnel interface when it connects (I believe L2TP does this) then it’s pretty easy.
Make sure the srcnat chain rule with action=masquerade is configured as follows:
chain=srcnat action=masquerade out-interface=ether1-gateway
(or whatever the router’s WAN IP interface might be)
Packets which go through the VPN tunnel will not match the above rule, so they will not get translated.
However, looking through your post I do see this:
Switch the src-address and dst-address and that should fix the problem.
If you have route to bad gateway, route will be disabled
/ip route add distance=1 dst-address=192.168.3.0/24 gateway=192.168.1.6
and traffic will be go to default gw (for 0.0.0.0/0).
you can add restrict rule for this traffic
/ip route add distance=250 dst-address=192.168.3.0/24 type=blackhole
or type=prohibit, type=unreachable
In other case (notrack or nat exclusion) this traffic will be go to the public internet with src.address 192.168.x.x. It’s bad way.