Есть OpenVPN сервер к которому подключен клиент,за клиентом есть сеть 10.101.165.0/24. Как настроить маршрутизацию с сервера в эту подсеть.Работать все упрямо отказывается!Помогите пожалуйста.
server.conf
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh2048.pem
ifconfig-pool-persist ipp.txt
client-config-dir ccd
keepalive 10 120
client-to-client
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
log /var/log/openvpn.log
verb 3
route 10.101.165.0 255.255.255.0
client.conf
client
remote *.*.*.* 1194
dev tun
proto udp
tls-client
comp-lzo
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
route 10.8.0.0 255.255.255.0
pull
cipher AES-128-CBC
ccd
ifconfig-push 10.8.0.2 10.8.0.1
iroute 10.101.165.0 255.255.255.0
route -n сервера
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 194.87.236.1 0.0.0.0 UG 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.101.165.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
194.87.236.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
route print клиента
===========================================================================
Список интерфейсов
16...00 ff 64 32 f2 c9 ......TAP-Windows Adapter V9
13...c8 60 00 d4 5c 3a ......Microsoft Virtual WiFi Miniport Adapter
12...c8 60 00 d4 5c 3a ......ASUS USB-N13 300Mbps 11n Wireless USB dongle
10...14 88 33 38 87 43 ......Realtek PCI GBE Family Controller
1...........................Software Loopback Interface 1
17...00 00 00 00 00 00 00 e0 Адаптер Microsoft ISATAP
15...00 00 00 00 00 00 00 e0 Адаптер Microsoft ISATAP #3
14...00 00 00 00 00 00 00 e0 Адаптер Microsoft 6to4
===========================================================================
IPv4 таблица маршрута
===========================================================================
Активные маршруты:
Сетевой адрес Маска сети Адрес шлюза Интерфейс Метрика
0.0.0.0 0.0.0.0 10.101.165.1 10.101.165.64 276
10.8.0.0 255.255.255.0 10.8.0.1 10.8.0.2 20
10.8.0.0 255.255.255.252 On-link 10.8.0.2 276
10.8.0.2 255.255.255.255 On-link 10.8.0.2 276
10.8.0.3 255.255.255.255 On-link 10.8.0.2 276
10.101.165.0 255.255.255.0 On-link 10.101.165.64 276
10.101.165.64 255.255.255.255 On-link 10.101.165.64 276
10.101.165.255 255.255.255.255 On-link 10.101.165.64 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.101.165.64 276
224.0.0.0 240.0.0.0 On-link 10.8.0.2 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.101.165.64 276
255.255.255.255 255.255.255.255 On-link 10.8.0.2 276
===========================================================================
Постоянные маршруты:
Сетевой адрес Маска Адрес шлюза Метрика
0.0.0.0 0.0.0.0 10.101.165.1 По умолчанию
===========================================================================