прописал эту строчку, но все равно, сеть устанавлмвается, но локальной сети и инета нет =(
Пользователь решил продолжить мысль 03 Ноября 2015, 14:23:50:
Ну хоть логи писаться стали
Так, для справки, по логу... у себя в host назвал свой сервер h.dz для 192.168.1.50 (чтоб постоянно ip руками не вбивать), а 83.149.9.113 - ip-шки мегафона (использую тел. для раздачи инета, чтоб тестировать удаленное подключение).
Tue Nov 3 14:08:08 2015 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec 1 2014
Tue Nov 3 14:08:08 2015 NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to
Tue Nov 3 14:08:08 2015 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Tue Nov 3 14:08:08 2015 Diffie-Hellman initialized with 2048 bit key
Tue Nov 3 14:08:08 2015 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Tue Nov 3 14:08:08 2015 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Nov 3 14:08:08 2015 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Nov 3 14:08:08 2015 Socket Buffers: R=[212992->131072] S=[212992->131072]
Tue Nov 3 14:08:08 2015 TUN/TAP device tap0 opened
Tue Nov 3 14:08:08 2015 TUN/TAP TX queue length set to 100
Tue Nov 3 14:08:08 2015 GID set to nogroup
Tue Nov 3 14:08:08 2015 UID set to nobody
Tue Nov 3 14:08:08 2015 UDPv4 link local (bound): [undef]
Tue Nov 3 14:08:08 2015 UDPv4 link remote: [undef]
Tue Nov 3 14:08:08 2015 MULTI: multi_init called, r=256 v=256
Tue Nov 3 14:08:08 2015 IFCONFIG POOL: base=192.168.1.73 size=11, ipv6=0
Tue Nov 3 14:08:08 2015 Initialization Sequence Completed
Tue Nov 3 14:11:55 2015 83.149.9.113:16395 TLS: Initial packet from [AF_INET]83.149.9.113:16395, sid=2c09e8b1 745ae727
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=MyOrganizationalUnit, CN=Fort-Funston CA, name=EasyRSA, emailAddress=me@myhost.mydomain
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 VERIFY OK: depth=0, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=MyOrganizationalUnit, CN=h.dz, name=EasyRSA, emailAddress=me@myhost.mydomain
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 WARNING: 'dev-type' is used inconsistently, local='dev-type tap', remote='dev-type tun'
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1634', remote='link-mtu 1602'
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Nov 3 14:11:56 2015 83.149.9.113:16395 [h.dz] Peer Connection Initiated with [AF_INET]83.149.9.113:16395
Tue Nov 3 14:11:56 2015 h.dz/83.149.9.113:16395 MULTI_sva: pool returned IPv4=192.168.1.73, IPv6=(Not enabled)
Tue Nov 3 14:11:59 2015 h.dz/83.149.9.113:16395 PUSH: Received control message: 'PUSH_REQUEST'
Tue Nov 3 14:11:59 2015 h.dz/83.149.9.113:16395 send_push_reply(): safe_cap=940
Tue Nov 3 14:11:59 2015 h.dz/83.149.9.113:16395 SENT CONTROL [h.dz]: 'PUSH_REPLY,route-gateway 192.168.1.50,ping 10,ping-restart 120,ifconfig 192.168.1.73 255.255.255.0' (status=1)
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:1b:95 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:06:f3:06 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:06:f3:05 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:44:2f -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:58:70 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:06:f3:04 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:00 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:b6:be -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:01 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:f9:90 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:01 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:06:f2:b9 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:01 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:4d:0d -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:01 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:9f:34 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:01 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:23:c8 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:01 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:68:57 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:02 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:f6:e9 -> h.dz/83.149.9.113:16395
Tue Nov 3 14:12:02 2015 h.dz/83.149.9.113:16395 MULTI: Learn: 40:00:40:11:1a:90 -> h.dz/83.149.9.113:16395
и так далее...
=(