This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technical:ipsec:routeros [2024/06/19 21:14] – jc | technical:ipsec:routeros [2024/12/13 15:52] (current) – jc | ||
---|---|---|---|
Line 2: | Line 2: | ||
# RouterOS Site to Site IPSec VPN | # RouterOS Site to Site IPSec VPN | ||
- | ## Create Peer | + | ## Create |
+ | |||
+ | ### Peer | ||
``` | ``` | ||
/ | / | ||
``` | ``` | ||
- | ## Create | + | ### Identity |
``` | ``` | ||
/ | / | ||
``` | ``` | ||
- | ## Create | + | ### Proposal |
``` | ``` | ||
/ | / | ||
``` | ``` | ||
- | ## Create | + | ### Profile |
``` | ``` | ||
/ | / | ||
``` | ``` | ||
- | ## Create | + | ### Policy |
``` | ``` | ||
/ | / | ||
``` | ``` | ||
- | ## Create NAT Rule | + | ## Create |
``` | ``` | ||
/ | / | ||
+ | ``` | ||
+ | ## ~WIP~ Dynamic IPSec IPv4 or IPv6 Address | ||
+ | |||
+ | ### Script | ||
+ | ``` | ||
+ | :global ip [:resolve myip.opendns.com server=208.67.222.222]; | ||
+ | put $ip | ||
+ | |||
+ | ``` | ||
+ | |||
+ | ### Pre-deployment | ||
+ | ``` | ||
+ | scp dynamic_ipsec_script.sh $user@hostname | ||
+ | ``` | ||
+ | ## DNS Server | ||
+ | |||
+ | ``` | ||
+ | $hostname A $IPv4|$IPv6 | ||
``` | ``` | ||
</ | </ |