How can I set up L2TP vpn?
It is very difficult on Mikrotik
I have followed several guides and youtube.
but i cannot get a connection so i can access a server on my lan network
Is there anyone who can help me?
I don’t want the default config 192.168.89.1
i want to get to my lan network 10.0.0.0/23
[admin@Landaal-MK] > ip address export
# mar/22/2020 13:31:23 by RouterOS 6.46.4
# software id = 4ZV9-XS2V
#
# model = 960PGS
# serial number = 78D207A03485
/ip address
add address=10.0.0.1/23 comment=defconf interface=ether2 network=10.0.0.0
add address=10.0.3.1/24 interface=vlan3 network=10.0.3.0
[admin@Landaal-MK] >
Is the VPN subnet the same as in your Local network ?
If yes then try enabling proxy-arp in your Bridge interface and test again…
Otherwise you should use NAT to reach your server…
I am confused.
Earlier you said the VPN Subnet is the 10.0.3.0/24..
But as i can see from your code, the remote-address you use for the VPN Client is 10.0.0.10, so you are in the same subnet as your Local network…
Enable proxy ARP on your Bridge interface and try again…
Also, as i see IPv4 Address. . . . . . . . . . . : 10.0.0.51 makes me more confused…
Are you inside your LAN but you connect through VPN to access the Server inside your LAN ?
Yes my guest and vpn are /24 networks.
vpn network was 192.168.89.1 /24
I have change it to the same subnet as my private lan.
My lan start at 10.0.0.50
So i give my vpn the 10.0.0.10 adress.
This wil Works right..
I set proxy ARP on the bridge.
I have make on multiple routers a vpn connection.
But mikrotik is difficult
Are you sure you are not blocking anything with Firewall ?
When you are connected through the VPN, can you ping the VPN Address of the router ? 10.0.3.x ?
I posted this in another thread recently. This should be pretty close. It assumes RADIUS, but I’d guess it isn’t hard to authenticate against a local database.
With Windows, you can create the VPN connection with Powershell. This is the example I use. You may need to adjust some options for compatibility with your configuration.
I provided the sample code as a template for you to refer to. It is primarily geared for starting with no L2TP configuration. If you have any configuration that may conflict, you’ll have to diagnose and resolve it.
Your rule 12 is a very important rule that you should not disable until you understand what it does, and are able to weigh and mitigate the risks associated with disabling that rule. That particular rule is a very strong impediment to compromise of your router and network(s) due to malicious activity.
If you don’t understand what the firewall rules are for, I strongly encourage you to spend more time studying networking before exposing things to the internet.