Answer the question
In order to leave comments, you need to log in
What's wrong with routes? or VPN without src-nat?
Hey!
Initially, there was such a configuration:
Mikrotik:
BRIDGE_LAN: 192.168.0.1/24
On the same Mikrotik L2TP + IPSEC Server: 10.10.100.1
Pool: 10.10.100.101-254
Well, NAT:
ip.src=10.10.100.0/24 ip.dst= 192.168.0.0/24 -j src-nat to-source=192.168.0.1
For L2TP clients:
ip route add 192.168.0.0/24 via 10.10.100.1
All L2TP clients can surf 192.168.0.0/24
I thought it was possible do not nat them, but remove the src-nat rule, and set up forwarding:
add action=accept chain=forward dst-address=192.168.0.0/24 src-address=10.10.100.0/24
add action=accept chain=forward dst-address=10.10.100.0/24 src-address=192.168.0.0/24
Answer the question
In order to leave comments, you need to log in
Check the routing table on the client with the vpn up - does the route to the desired network go through the vpn?
Check your firewall on Mikrotik.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question