Line 75: |
Line 75: |
| # Write '''Username''' (write the username which you created with this command /ppp secret add name="username" password="password" service=l2tp profile=ipsec_vpn remote-address=192.168.102.2). | | # Write '''Username''' (write the username which you created with this command /ppp secret add name="username" password="password" service=l2tp profile=ipsec_vpn remote-address=192.168.102.2). |
| # Write '''Password''' (write the password which you created with this command /ppp secret add name="username" password="password" service=l2tp profile=ipsec_vpn remote-address=192.168.102.2). | | # Write '''Password''' (write the password which you created with this command /ppp secret add name="username" password="password" service=l2tp profile=ipsec_vpn remote-address=192.168.102.2). |
− | # Press '''Save'''. | + | # Press '''Save & Apply'''. |
| | | |
| Now go to '''Services > VPN > IPsec'''. | | Now go to '''Services > VPN > IPsec'''. |
Line 89: |
Line 89: |
| # '''Enable''' instance. | | # '''Enable''' instance. |
| # Select '''Type''' (Transport). | | # Select '''Type''' (Transport). |
− | # Write '''Remote VPN endpoint''' (MikroTik public IP address). | + | # Write '''Remote endpoint''' (MikroTik public IP address). |
| # Select '''DH group''' (MODP1024) | | # Select '''DH group''' (MODP1024) |
| # Set all of the settings in '''Phase 2''' to be exactly the same as in the '''Phase 1'''. | | # Set all of the settings in '''Phase 2''' to be exactly the same as in the '''Phase 1'''. |
| # Press '''Save'''. | | # Press '''Save'''. |
| # Write '''Pre-shared key''' (write the password which you created with this command /ip ipsec identity add generate-policy=port-override auth-method=pre-shared-key secret="password" peer=l2tpserver ). | | # Write '''Pre-shared key''' (write the password which you created with this command /ip ipsec identity add generate-policy=port-override auth-method=pre-shared-key secret="password" peer=l2tpserver ). |
− | # Press '''Save'''. | + | # Press '''Save & Apply'''. |
| | | |
| ==Testing configuration== | | ==Testing configuration== |