I try to set up a RB450G as a VPN L2TP Client, The problem is my i need setup a L2TP key (shared secret) plus Username and password.
how i do that? I cant find how i set up L2TP key (shared secret) in L2TP Client Interface.
I test it on a Windows box and the account have no problem.
Please Help.
hi
if your request is user name and password for L2TP Client,you can do this in L2TP Client configuration.
example of this config is :
name=user name of your account
password=password of your account
also, for learn about ppp profile you can go to this address : http://wiki.mikrotik.com/wiki/Manual:PPP_AAA#User_Profiles
PPP profiles are used to define default values for user access records stored under /ppp secret submenu. Settings in /ppp secret User Database override corresponding /ppp profile settings except that single IP addresses always take precedence over IP pools when specified as local-address or remote-address parameters
tanx for your reply.
but my problem actually is i cant find where i set L2TP key (shared secret) that i need it to set in connection.
in windows we can set it in L2TP Connection Properties/Security/Advanced Settings/ “Use preshared key for authentication”
Yes. i want make a L2TP/IPsec connection.
but in my network RB450G is the L2TP client not the server. is this supported?
can i set secret ket with ip ipsec peer when the RB450G is client that make connection?
tanx mrz i add the policy. i totaly confused about that:
i go with this http://wiki.mikrotik.com/wiki/L2TP_%2B_IPSEC_between_2_Mikrotik_routers
and it didnt work yet.
here is what “netsh ipsec dynamic show all” say on windows that work fine with connection. what is the same parameter in Mikrotik ?
IKE Main Mode SAs at 12/14/2011 6:11:38 PM
Cookie Pair : *******
Sec Methods : NONE/SHA1/5/28800
Auth Mode : Preshared Key
Source : 192.168.0.22 , port 37905
ID : 192.168.0.22
Destination : SERVER_IP_ADDRESS , port 37905
ID : SERVER_IP_ADDRESS
Quick Mode SAs
Transport Filter
Source Address : 192.168.0.22
Destination Address : SERVER_IP_ADDRESS
Protocol : UDP
Source Port : 1701
Destination Port : 1701
Direction : Outbound
Encapsulation Type : Other
Source UDP Encap port : 4500
Dest UDP Encap port : 4500
Peer Private Addr : 0.0.0.0
You can make new Peers and Proposal in IPsec menu at Mikrotik, same as like you made on L2TP server side..
The secret key can you enter on “secret” line..
In “IPsec” menu, you can add new “Peers” and “Proposal” on Mikrotik L2TP client same as like you made on L2TP server side..
The secret key can enter on “Secret” line on “Peers” tab.. Remember to change “Excahange Mode” to “Main l2tp” when you make new “Peers”
In ros v6 it is very easy. Enable checkbox “use-ipsec” and specify ipsec secret.
Ipsec peer and policy will be automatically generated that works with most of devices, tested iphones, macos, windows xp-10 and androids.
(at least) On 6.36.3 we can defer the creation of the IPSec peer and policy to ROS, for setting up either a L2TP/IPSec server or client.
I need to set up both. Setting up the server works fine and I can connect from our target road warrior devices, iOS and Mac OS X.
But I also need to make our Mikrotik routers to connect to a L2TP/IPSec server running Ubuntu (do not ask me why, no my choice here). I can connect to that server from iOS, MacOS and Windows.
From the Mikrotik router it simply stays “connecting” forever and I see no clues with the router.
When it does not connect, it usually means there are no common authentication and encryption methods
that both sides accept. When both sides accept sha1 and aes-128-cbc there is no problem, but these days
you have those security fanatics that say those codes are broken and need to be replaced by something
better, and then you are at the mercy of the guys that setup the configuration for your OS.
Ok my l2tp ipsec client connection to the cisco vpn server is working now.
I had a phase 2 qm fsm error on the logs from the cisco server.
You were right about the encryption methods pe1chl.
I had to change some ispec proposal encryption things.
I attach a picture if someone is interested.
Now I have internet access (ping) from the l2tp-out1 interface to the internet.
But I don’t have access to the internet from wlan1 and eth1 interface.
How can I forward the traffic from the l2tp-out1 interface to the wlan1 interface?
I already checked the NAT box on the quick set page.
I don’t have any firewall rules enabled.