Answer the question
In order to leave comments, you need to log in
How to create site to site between Mikrotik ipsec in tunnel mode in Mikrotik?
and please explain describe the differences creating İpsec in both transport and tunnel mode what is the difference Thank you in advance
Answer the question
In order to leave comments, you need to log in
difference...İpsec and in transport and tunnel mode
/ip ipsec proposal
add auth-algorithms="" enc-algorithms=aes-256-gcm lifetime=1h name=proposal1
/ip ipsec profile
add dpd-interval=disable-dpd enc-algorithm=aes-256 hash-algorithm=sha256 lifetime=2h name=profile1 \
nat-traversal=no proposal-check=strict
/ip ipsec peer
add address=170.70.70.1/32 comment="Main VPN" name=RB2011 profile=profile1
/ip ipsec policy
add dst-address=10.2.2.0/24 peer=RB2011 proposal=proposal1 src-address=10.1.1.0/24 tunnel=yes
/ip ipsec identity
add peer=RB2011 secret=123456
https://lmgtfy.com/?q=ipsec+transport+vs+tunnel
I leave the question from the title for training by analogy.
Please write in your native language.
1. Interfaces -> IP Tunnel, create a tunnel
2. IP -> IPsec, configure the parameters one by one (check the default ones) Policies, Proposals, Peers, Identities, Profiles
3. If everything is ok, then in the Active Peers tabs, Installed SAs, the corresponding items will be displayed
4. IP -> Addresses, assign a network address to our ipsec interface
5. IP -> Routes, set the route to the tunnel interface so that the router knows where to send packets.
Similarly, through cli
/interface ipip
add disabled=no dscp=0 local-address=88.88.88.2 mtu=1260 name=ipip1 \
remote-address=77.77.77.226
add address=192.168.88.1/24 comment="default configuration" disabled=no \
interface=ether2-master-local network=192.168.88.0
add address=88.88.88.2/30 disabled=no interface=ether1-gateway network=\
62.5.248.248
add add-default-route=yes comment="default configuration" \
default-route-distance=1 disabled=no interface=ether1-gateway \
use-peer-dns=yes use-peer-ntp=yes
/ip ipsec peer
add address=77.77.77.226/32 auth-method=pre-shared-key dh-group=modp1024 \
disabled=no dpd-interval=2m dpd-maximum-failures=5 enc-algorithm=3des \
exchange-mode=main generate-policy=yes hash-algorithm=md5 lifebytes=0 \
lifetime=1d my-id-user-fqdn="" nat-traversal=no port=500 proposal-check=\
obey secret=MyPassWord send-initial-contact=yes
/ip route
add comment="Default routing" disabled=no distance=1 dst-address=0.0.0.0/0 \
gateway=88.88.88.1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=10.192.0.0/22 gateway=ipip1 scope=30 \
target-scope=10
/ip firewall filter
add action=accept chain=input comment="default configuration" disabled=no
add action=accept chain=output disabled=no
/system logging
add action=memory disabled=no prefix="" topics=ipsec
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question