Wed Apr 01, 2015 12:10 pm
This is my architecture
Router 1
Ip public :1.1.1.2
Lan :192.16.1.0/24
Router 2
Ip public :1.1.2.2
Lan :192.16.2.0/24
My configuration
Router 1
Enable L2TP Server
/interface l2tp‐server server
set default‐profile=Branch1 enabled=yes
Create L2TP Profile
/ppp profile
add name=Branch1
Create Login account for branch
/ppp secret
add local‐address=1.1.1.2
name=branch1‐l2tp
password=branch1‐l2tp profile=Branch1
remote‐address=1.1.2.2
routes=192.16.2.0/24 service=l2tp
Make NAT Exception for VPN Traffic
/ip firewall nat
add chain=srcnat dst‐address=192.16.2.0/24 src‐address=192.16.1.0/24
Router 2
Create L2TP Client Connection
/interface l2tp‐client
add name=l2tp‐to‐hq user=branch1‐l2tp
password=branch1‐l2tp add‐default‐route=no
connect‐to=1.1.1.2 disabled=no
name=l2tp‐to‐hq profile=default‐encryption
Route back to HQ
/ip firewall nat
add chain=srcnat dst‐address=192.16.1.0/24 src‐address=192.16.2.0/24
/ip route
add dst‐address=192.16.1.0/24 gateway=l2tp‐to‐hq
please tell me where is the error because its not working