Sunday, December 8, 2024

Mikrotik --> Site To Site Connectivity using L2TP

You should have Static Public IP  addr for both side.

Lets Start From Main Site A or Head office where you have all servers.

1.PPP --> Interface --> L2TP Server - ( Enable YEs - Use IPsec Yes - IPsec secret Password - ) apply ok



2.PPP --> Profile --> Default encryption -->(USE Encryption yes - Limits only one no -)





3.PPP --> Secret --> (Name = username, password = your password, service = l2tp, profile = default encryption, local add = your site local ip, remote add = other site local address,) apply ok.






4.IP -->  Route --> Plus sign -> (Dst. add: = You have to add other site IP and network address for example (Dst addr: 192.198.0.1/24 Gateway = 192.168.0.1) ok apply 




5. Let's Move to Other site Mikrotik Configuration.
Site B
PPP --> Interafce --> plus sign --> L2tp Client (Dial out , connect to = First(other) site IP, User/pass = that was created in first(other) site under screts, profile = default encryption,
check mark use IPsec, IPsec Secret = password that was setup in first(other) site under l2tp server,) apply ok
interafce-- select your VPN -- dial out At the botton check status should be = connected







6.IP -->  Route --> Plus sign -> (Dst. add: = You have to add other site IP and network address for example (Dst addr: 192.198.1.1/24 Gateway = 192.168.1.1) ok apply





7. you can try ping and share resource from both end
 




No comments:

Post a Comment