I am REALLY new to networking and i have a MT router where i am trying to set up a VPN and in turn use my iPhone devices to connect through VPN to the router.
Each time i try to enter the “/ip ipsec user” element i get a “bad command name user” error.
In an attempt to solve for this i also go to IP > IPsec > Identies > Add New. I create all the details in the WebFig however i end up with a different error: “Couldn’t add New IPsec Identity - can’t add identity to dynamic peer (6)”
Current Firmware 6.47.3 - will update to .4 later on this evening.
Guidance on how to solve for this appreciated and thanks in advance.
Thanks for your response @harms, and apologies for not getting back to you earlier. i was trying to complete the process below in between life.
I plugged in all the details you provided and i suspect i might have done something wrong:
Regarding the peer creation:
When i look at the completed set up there is a “This entry is unreachable” error. I used the terminal code below and can see the ‘responder’ is enabled, name is ‘peer1’ Address is “::/0”, profile default, exchange mode=main, passive is ticked and send initial_contact is ticked.
/ip ipsec peer
add name=peer1 passive=yes
Regarding the settings on my mac and iphone, this is going to sound dumb because it most probably is:
i can see the Internet IP address and Gateway address. i can see the local IP address as well. Which of these should i be using in my VPN set up on my devices. I ask because i have tried them all and nothing seems to work. I can see the below has been successfully applied as well just in case.
/ip pool
add name=VPN ranges=192.168.99.1-192.168.99.254