Skip to content

Instantly share code, notes, and snippets.

@soheilsec
Created October 3, 2023 14:36
Show Gist options
  • Save soheilsec/d5432e3a2d59fc750535f1a80d0d5f54 to your computer and use it in GitHub Desktop.
Save soheilsec/d5432e3a2d59fc750535f1a80d0d5f54 to your computer and use it in GitHub Desktop.
IKEV2 Mikrotik
0. install usermanager mikrotik IRAN
1. clock
/system clock
set time-zone-name=Asia/Tehran
/system clock manual
set time-zone=+03:30
2. ntp
/system ntp client
set enabled=yes
/system ntp client servers
add address=ir.pool.ntp.org
add address=0.asia.pool.ntp.org
add address=time.day.ir
3. Certificate
/certificate enable-ssl-certificate dns-name=ikev2.soheilsec.com
4. bridge
10.0.0.1
5.ip pool
10.0.0.2-10.0.0.254
6. NAT exclude
7. mode config ip pool DNS
8. proposal sha256 pfs group none
ctr
9.profile aes 128 192 256
10.group
11. policy template
12 peer ip iran
13. eap radius
certificate
group
auto
auto
remote id
mode ikev2 port stric
14. xauth radius 00:00:20
15.radius config
16. add router enable
17. check windows
18. check iOS
19. check strongswan android
برای اینکه فایل منتقل کنم از پایتون استفاده کردم
python -m http.server
@saeidabdz
Copy link

چجور میشه وصل ibsng کرد هزینشم میدم با درود

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment