Answer the question
In order to leave comments, you need to log in
Strongswan and Mikrotik client how to connect?
I can't set up a connection between Strongswan and the Mikrotik client
Other options - windows and android work without problems
Now the configuration looks like this:
Strongswan ----------------------> Mikrotik
109.122. 11.31 195.16.10.10: PSK "01234567899876543210"
CONN MIKROT
RIGHTSENDCERT = NEVER
FORCEENCAPS = YES LEFT =
109.122.11.31
LeftSubnet = 10.86.86.0 / 24
Right = 195.16.10.10
RightSubnet = 172.23.36.0 / 24
IKE = AES256-SHA256-MODP1024!
esp=aes256-sha256-modp1024!
keyingtries=0
ikelifetime=1h
lifetime=24h
authby=secret
auto=start
keyexchange=ikev1
type=tunnel
In the logs, constant attempts
Answer the question
In order to leave comments, you need to log in
Buddy - "Do you need it, huh?" (c) You now have the same mess in your head as in the text. Let me try to teach you how to form questions for Google:
1) What is a Web Server - And we study what is Apache + PHP or Nginx and also learn about MySQL or other database systems
2) What is OpenServer - And we study how it works and what is stored where (for example, phpmyadmin is stored approximately here OpenServer\modules\system\html\openserver\phpmyadmin but you definitely don’t need phpmyadmin files)
3) PHP basics + working with the database in PHP- And we study
And when there is a basis, it’s worth writing here
Ps Example #1 mysqli_connect() example
<?php
$link = mysqli_connect("Адрес сервера MySQL", "ПОЛЬЗОВАТЕЛЬ", "ПАРОЛЬ", "БАЗА ДАННЫХ КОТОРАЯ УЖЕ ДОЛЖНЫ БЫТЬ СОЗДАНА");
if (!$link) {
echo "Ошибка: Невозможно установить соединение с MySQL." . PHP_EOL;
echo "Код ошибки errno: " . mysqli_connect_errno() . PHP_EOL;
echo "Текст ошибки error: " . mysqli_connect_error() . PHP_EOL;
exit;
}
echo "Соединение с MySQL установлено!" . PHP_EOL;
echo "Информация о сервере: " . mysqli_get_host_info($link) . PHP_EOL;
mysqli_close($link);
?>
IKEv1 with Mikrotik will not work in principle. You need to use IKEv2 if the firmware is appropriate. If the firmware does not yet have IKEv2, update and try. In addition, the sha256 hash in Mikrotik is somehow done through the back - it only works on connecting Mikrotik with Mikrotik, when you try to connect Mikrotik with strongswan - nothing happens.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question