I have been trying to figure out why even when there is no
traffic on the tunnel, why when I go to generate traffic on it
the tunnel (ping from router or inside equipment) I see the SA
bytes increase for only one direction, no reply. I have to generate
traffic on the other side back to get the tunnel to come up.
Here is my ipsec config, I do have the NAT rule already defined
in the correct position before masqurade.
Thanks for any info, if you need more details or config post, I can
get them for you no problem.
Main Side (This is a 450g in office for testing this):
oct/08/2010 14:33:14 by RouterOS 4.5
software id = AZAI-47PY
/ip ipsec proposal
set default auth-algorithms=md5,sha1 comment="" disabled=no enc-algorithms=3des lifetime=1h name=default
pfs-group=modp1024
add auth-algorithms=md5,sha1 comment="" disabled=no enc-algorithms=3des lifetime=30m name=proposal1 pfs-group=
modp1024
/ip ipsec peer
add address=1.1.1.226/32:500 auth-method=pre-shared-key comment="" dh-group=modp1024 disabled=no
dpd-interval=15s dpd-maximum-failures=100 enc-algorithm=3des exchange-mode=main generate-policy=no
hash-algorithm=md5 lifebytes=0 lifetime=1d nat-traversal=no proposal-check=obey secret=1234
send-initial-contact=yes
/ip ipsec policy
add action=encrypt comment="" disabled=no dst-address=192.168.88.0/24:any ipsec-protocols=esp level=require
priority=0 proposal=default protocol=all sa-dst-address=1.1.1.226 sa-src-address=1.1.1.22
src-address=192.168.58.0/24:any tunnel=yes
Remote (750g):
oct/08/2010 14:38:07 by RouterOS 4.10
software id = I4LX-PBE9
/ip ipsec proposal
set default auth-algorithms=sha1 comment="" disabled=no enc-algorithms=3des
lifetime=30m name=default pfs-group=modp1024
/ip ipsec peer
add address=1.1.1.22/32:500 auth-method=pre-shared-key comment=""
dh-group=modp1024 disabled=no dpd-interval=15s dpd-maximum-failures=100
enc-algorithm=3des exchange-mode=main generate-policy=yes hash-algorithm=
md5 lifebytes=0 lifetime=1d nat-traversal=no proposal-check=obey secret=
1234 send-initial-contact=yes
/ip ipsec policy
add action=encrypt comment="" disabled=no dst-address=192.168.58.0/24:any
ipsec-protocols=esp level=require priority=1 proposal=default protocol=
all sa-dst-address=1.1.1.22 sa-src-address=1.1.1.226 src-address=
192.168.88.0/24:any tunnel=yes