ip xfrm policy add dir in src 192.168.0.0/24 dst 192.168.0.0/24
ip xfrm policy add dir out src 192.168.0.0/24 dst 192.168.0.0/24
src 0.0.0.0/0 dst 0.0.0.0/0
socket in priority 0 ptype main
src 0.0.0.0/0 dst 0.0.0.0/0
socket out priority 0 ptype main
src 0.0.0.0/0 dst 0.0.0.0/0
socket in priority 0 ptype main
src 0.0.0.0/0 dst 0.0.0.0/0
socket out priority 0 ptype main
src ::/0 dst ::/0
socket in priority 0 ptype main
src ::/0 dst ::/0
socket out priority 0 ptype main
src ::/0 dst ::/0
socket in priority 0 ptype main
src ::/0 dst ::/0
socket out priority 0 ptype main
src 10.0.1.1/32 dst 0.0.0.0/0
dir out priority 383615 ptype main
tmpl src 192.168.0.60 dst 18.18.18.18
proto esp spi 0xc93c91b7 reqid 1 mode tunnel
src 0.0.0.0/0 dst 10.0.1.1/32
dir fwd priority 383615 ptype main
tmpl src 18.18.18.18 dst 192.168.0.60
proto esp reqid 1 mode tunnel
src 0.0.0.0/0 dst 10.0.1.1/32
dir in priority 383615 ptype main
tmpl src 18.18.18.18 dst 192.168.0.60
proto esp reqid 1 mode tunnel
src 0.0.0.0/0 dst 0.0.0.0/0
socket in priority 0 ptype main
src 0.0.0.0/0 dst 0.0.0.0/0
socket out priority 0 ptype main
src 0.0.0.0/0 dst 0.0.0.0/0
socket in priority 0 ptype main
src 0.0.0.0/0 dst 0.0.0.0/0
socket out priority 0 ptype main
src ::/0 dst ::/0
socket in priority 0 ptype main
src ::/0 dst ::/0
socket out priority 0 ptype main
src ::/0 dst ::/0
socket in priority 0 ptype main
src ::/0 dst ::/0
socket out priority 0 ptype main