Доброго дня.
Интересная задача -
Дано - Kerio Control с поднятым VPN.
Его клиенты (С прописанной статикой):
1 Macbook - через Kerio VPN официальный клиент.
2 Win машины - через Kerio VPN официальный клиент.
1 Synology NAS - Через ipSec клиент синолоджи.
1 Ubuntu 22.04 - через Kerio VPN официальный клиент.
Подключаю все разом к VPN - у всех пинги открыты, у винды есть общие папки, у синолоджи есть папки, все друг друга видят пингуют, заходят на внешние ресурсы.
Все, кроме Ubuntu.
Ставил 3 разных по версии VPN клиента Kerio и везде одно -
Делаюsudo /etc/init.d/kerio-kvc start
Вижу в ifconfig kvnet: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1400
inet 172.26.215.2 netmask 255.255.255.0 broadcast 172.26.215.255
inet6 fe80::b038:acff:fe72:2f78 prefixlen 64 scopeid 0x20<link>
ether b2:38:ac:72:2f:78 txqueuelen 1000 (Ethernet)
RX packets 28 bytes 3832 (3.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 89 bytes 9391 (9.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Вижу в routeТаблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 600 0 0 wlo1
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlo1
172.26.215.0 0.0.0.0 255.255.255.0 U 0 0 0 kvnet
192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1
Пытаюсь пинг себя 172.26.215.2 (статиика IP в впн) - пингуюсь.
Пытаюсь пинг соседей - тишина.
PING 172.26.215.1 (172.26.215.1) 56(84) bytes of data.
--- 172.26.215.1 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5105ms
PING 172.26.215.3 (172.26.215.3) 56(84) bytes of data.
--- 172.26.215.3 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5105ms
Окей, Kerio пишет 2 лог файла, error и debug.
В error тишина, то есть ошибок соединения нет.
А вот в debug такое:
[21/May/2022 08:59:20] {vpnClient} VPNClient[0001] - sending Q_KEEPALIVE message
[21/May/2022 08:59:20] {vpnClient} VPNClient[0001] - received R_KEEPALIVE message
[21/May/2022 08:59:50] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 08:59:51] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 08:59:56] {vpnCore} Last message repeated 4 times
[21/May/2022 08:59:56] {vpnCore} Unable to send IP packet, 172.26.215.2 -> 35.232.111.17: zeroconf disabled
[21/May/2022 09:00:09] {vpnCore} Last message repeated 4 times
[21/May/2022 09:00:09] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:00:11] {vpnCore} Unable to send IP packet, 172.26.215.2 -> 35.232.111.17: zeroconf disabled
[21/May/2022 09:00:14] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:00:20] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:00:20] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:00:20] {vpnClient} VPNClient[0001] - sending Q_KEEPALIVE message
[21/May/2022 09:00:20] {vpnClient} VPNClient[0001] - received R_KEEPALIVE message
[21/May/2022 09:00:50] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:00:57] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:01:19] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:01:19] {vpnClient} VPNClient[0001] - received ROUTES message
[21/May/2022 09:01:19] {vpnMain} VPNClient[0001] - maintenance started
[0x3] KVPN_STATUS_SUCCESS
[21/May/2022 09:01:19] {vpnMain} VPNClient[0001] - route 172.26.215.3/255.255.255.255 (sys) touched
[21/May/2022 09:01:19] {vpnMain} VPNClient[0001] - maintenance done
[21/May/2022 09:01:20] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:01:20] {vpnClient} VPNClient[0001] - sending Q_KEEPALIVE message
[21/May/2022 09:01:21] {vpnClient} VPNClient[0001] - received R_KEEPALIVE message
[21/May/2022 09:01:50] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:02:20] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:02:20] {vpnClient} VPNClient[0001] - sending Q_KEEPALIVE message
[21/May/2022 09:02:21] {vpnClient} VPNClient[0001] - received R_KEEPALIVE message
[21/May/2022 09:02:22] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:02:50] {vpnCore} Last message repeated 15 times
[21/May/2022 09:02:50] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:03:03] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:03:08] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:03:08] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.3 handled.
[21/May/2022 09:03:20] {vpnCore} Last message repeated 6 times
[21/May/2022 09:03:20] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:03:20] {vpnClient} VPNClient[0001] - sending Q_KEEPALIVE message
[21/May/2022 09:03:21] {vpnClient} VPNClient[0001] - received R_KEEPALIVE message
[21/May/2022 09:03:50] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:04:20] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:04:20] {vpnClient} VPNClient[0001] - sending Q_KEEPALIVE message
[21/May/2022 09:04:21] {vpnClient} VPNClient[0001] - received R_KEEPALIVE message
[21/May/2022 09:04:23] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:04:50] {vpnCore} Last message repeated 4 times
[21/May/2022 09:04:50] {vpnCore} oldapi: KVpnConnectionGetStatus() -> SUCCESS
[21/May/2022 09:04:51] {vpnCore} IP packet 172.26.215.2 -> 172.26.215.1 handled.
[21/May/2022 09:04:56] {vpnCore} Last message repeated 4 times
[21/May/2022 09:04:56] {vpnCore} Unable to send IP packet, 172.26.215.2 -> 34.122.121.32: zeroconf disabled
При этом повторю - Windows , мак и синолоджи все друг друга видят и пингуют и на "шары" друг друга заходят. Ubuntu не видит никого, и её соответственно нет видят. Хотя в активный коннектах в Kerio Connect интерфейсе администратора видно что она приконнектилась, и керио даже опознаёт операционку.