I have setup the IPSec VPN Settings like the example from the Mikrotik page with Masq. But it doesn’t ever try to connect or give any errors at all. What am I doing wrong? The log never mentions anything about an attempted connection or anything. I have to be missing something. They can ping each others real ips fine but no VPN connection is ever attempted.
1st Router
/ ip address
add address=76.196.97.6/30 network=76.196.97.4 broadcast=76.196.97.7 interface=ether1 comment=“” disabled=no
add address=192.168.4.1/24 network=192.168.4.0 broadcast=192.168.4.255 interface=ether2 comment=“” disabled=no
/ ip firewall nat
add chain=srcnat action=accept src-address=192.168.4.0/24
dst-address=192.168.0.0/22 comment=“” disabled=no
add chain=srcnat action=masquerade out-interface=ether1 comment=“”
disabled=no
/ ip ipsec proposal
add name=“default” auth-algorithms=sha1 enc-algorithms=3des lifetime=30m
lifebytes=0 pfs-group=modp1024 disabled=no
/ ip ipsec policy
add src-address=192.168.4.0/24:any dst-address=192.168.0.0/22:any
protocol=all action=encrypt level=require ipsec-protocols=esp tunnel=yes
sa-src-address=76.196.97.6 sa-dst-address=76.196.98.6 proposal=default
manual-sa=none dont-fragment=clear disabled=no
/ ip ipsec peer
add address=76.196.98.6/32:500 secret=“test” generate-policy=yes
exchange-mode=aggressive send-initial-contact=yes proposal-check=obey
hash-algorithm=md5 enc-algorithm=3des dh-group=modp1024 lifetime=1d
lifebytes=0 disabled=no
2nd Router
/ ip address
add address=76.196.98.6/30 network=76.196.98.4 broadcast=76.196.98.7
interface=ether1 comment=“” disabled=no
add address=192.168.0.1/22 network=192.168.0.0 broadcast=192.168.3.255
interface=ether3 comment=“” disabled=no
/ ip firewall nat
add chain=srcnat action=accept src-address=192.168.0.0/22
dst-address=192.168.4.0/24 comment=“” disabled=no
add chain=srcnat action=masquerade out-interface=ether1 comment=“”
disabled=no
/ ip ipsec proposal
add name=“default” auth-algorithms=sha1 enc-algorithms=3des lifetime=30m
lifebytes=0 pfs-group=modp1024 disabled=no
/ ip ipsec policy
add src-address=192.168.0.0/22:any dst-address=192.168.4.0/24:any
protocol=all action=encrypt level=require ipsec-protocols=esp tunnel=yes
sa-src-address=76.196.98.6 sa-dst-address=76.196.97.6 proposal=default
manual-sa=none dont-fragment=clear disabled=no
/ ip ipsec peer
add address=76.196.97.6/32:500 secret=“test” generate-policy=yes
exchange-mode=aggressive send-initial-contact=yes proposal-check=obey
hash-algorithm=md5 enc-algorithm=3des dh-group=modp1024 lifetime=1d
lifebytes=0 disabled=no