[more] [more] Если я все правильно понял, то:
local xx.xx.184.45
dev tun
proto tcp-server
port 1194
server 11.11.11.0 255.255.255.0
# push "route 192.168.9.0 255.255.255.0"
# push "redirect-gateway def1"
client-to-client
ifconfig-pool-persist C:\\OpenVPN\\config\\ipp.txt
dh C:\\OpenVPN\\ssl\\dh1024.pem
ca C:\\OpenVPN\\ssl\\ca.crt
cert C:\\OpenVPN\\ssl\\Server.crt
key C:\\OpenVPN\\ssl\\Server.key
persist-key
# tls-auth C:\\OpenVPN\\ssl\\ta.key 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
keepalive 10 120
comp-lzo
verb 3
client-config-dir C:\\OpenVPN\\config\\ccd
PS C:\OpenVPN\config\ccd> ls -name
client1.txt
PS C:\OpenVPN\config\ccd> cat client1.txt
push "route 192.168.9.0 255.255.255.0"
ifconfig-push 11.11.11.6 255.255.255.0
iroute 192.168.231.0 255.255.255.0
PS C:\OpenVPN\config\ccd>
Но так я вообще ничего не вижу [/more]
Добавлено: PlastUn77, с предыдущими настройками ничего не видно.
server 11.11.11.0 255.255.255.0
# push "route 192.168.9.0 255.255.255.0"
# push "redirect-gateway def1"
route 192.168.231.0 255.255.255.0
Если речь идет об
этих настройках, то лог такой
[more]
Tue Nov 05 10:43:54 2013 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Tue Nov 05 10:43:54 2013 Diffie-Hellman initialized with 1024 bit key
Tue Nov 05 10:43:54 2013 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Nov 05 10:43:55 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Nov 05 10:43:55 2013 open_tun, tt->ipv6=0
Tue Nov 05 10:43:55 2013 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{D2E03CBC-46A3-4C78-A79F-85297DBA7F54}.tap
Tue Nov 05 10:43:55 2013 TAP-Windows Driver Version 9.9
Tue Nov 05 10:43:55 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 11.11.11.1/255.255.255.252 on interface {D2E03CBC-46A3-4C78-A79F-85297DBA7F54} [DHCP-serv: 11.11.11.2, lease-time: 31536000]
Tue Nov 05 10:43:55 2013 Sleeping for 10 seconds...
Tue Nov 05 10:44:05 2013 Successful ARP Flush on interface [52] {D2E03CBC-46A3-4C78-A79F-85297DBA7F54}
Tue Nov 05 10:44:05 2013 C:\Windows\system32\route.exe ADD 192.168.9.0 MASK 255.255.255.0 11.11.11.2
Tue Nov 05 10:44:05 2013 ROUTE: route addition failed using CreateIpForwardEntry: Этот объект уже существует. [status=5010 if_index=52]
Tue Nov 05 10:44:05 2013 Route addition via IPAPI failed [adaptive]
Tue Nov 05 10:44:05 2013 Route addition fallback to route.exe
Tue Nov 05 10:44:05 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Tue Nov 05 10:44:05 2013 C:\Windows\system32\route.exe ADD 11.11.11.0 MASK 255.255.255.0 11.11.11.2
Tue Nov 05 10:44:05 2013 ROUTE: route addition failed using CreateIpForwardEntry: Этот объект уже существует. [status=5010 if_index=52]
Tue Nov 05 10:44:05 2013 Route addition via IPAPI failed [adaptive]
Tue Nov 05 10:44:05 2013 Route addition fallback to route.exe
Tue Nov 05 10:44:05 2013 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Tue Nov 05 10:44:05 2013 Listening for incoming TCP connection on [AF_INET]xx.xx.184.45:1194
Tue Nov 05 10:44:05 2013 TCPv4_SERVER link local (bound): [AF_INET]xx.xx.184.45:1194
Tue Nov 05 10:44:05 2013 TCPv4_SERVER link remote: [undef]
Tue Nov 05 10:44:05 2013 MULTI: multi_init called, r=256 v=256
Tue Nov 05 10:44:05 2013 IFCONFIG POOL: base=11.11.11.4 size=62, ipv6=0
Tue Nov 05 10:44:05 2013 ifconfig_pool_read(), in='GW-MSK,11.11.11.4', TODO: IPv6
Tue Nov 05 10:44:05 2013 succeeded -> ifconfig_pool_set()
Tue Nov 05 10:44:05 2013 IFCONFIG POOL LIST
Tue Nov 05 10:44:05 2013 GW-MSK,11.11.11.4
Tue Nov 05 10:44:05 2013 MULTI: TCP INIT maxclients=60 maxevents=64
Tue Nov 05 10:44:05 2013 Initialization Sequence Completed
Tue Nov 05 10:45:32 2013 TCP connection established with [AF_INET]91.226.209.101:51808
Tue Nov 05 10:45:32 2013 yy.yy.209.101:51808 TLS: Initial packet from [AF_INET]yy.yy.209.101:51808, sid=849f55bc 748695a6
Tue Nov 05 10:45:34 2013 yy.yy.209.101:51808 VERIFY OK: depth=1, C=RU, ST=MSK, L=MSK, O=TPI, CN=TPI-DC-MSK, emailAddress=it@z.ru
Tue Nov 05 10:45:34 2013 yy.yy.209.101:51808 VERIFY OK: depth=0, C=RU, ST=MSK, O=TPI, OU=GW-MSK, CN=GW-MSK, emailAddress=it@z.ru
Tue Nov 05 10:45:35 2013 yy.yy.209.101:51808 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Nov 05 10:45:35 2013 yy.yy.209.101:51808 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Nov 05 10:45:35 2013 yy.yy.209.101:51808 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Nov 05 10:45:35 2013 yy.yy.209.101:51808 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Nov 05 10:45:35 2013 yy.yy.209.101:51808 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Nov 05 10:45:35 2013 yy.yy.209.101:51808 [GW-MSK] Peer Connection Initiated with [AF_INET]yy.yy.209.101:51808
Tue Nov 05 10:45:35 2013 GW-MSK/yy.yy.209.101:51808 MULTI_sva: pool returned IPv4=11.11.11.6, IPv6=(Not enabled)
Tue Nov 05 10:45:35 2013 GW-MSK/yy.yy.209.101:51808 MULTI: Learn: 11.11.11.6 -> GW-MSK/yy.yy.209.101:51808
Tue Nov 05 10:45:35 2013 GW-MSK/yy.yy.209.101:51808 MULTI: primary virtual IP for GW-MSK/yy.yy.209.101:51808: 11.11.11.6
Tue Nov 05 10:45:37 2013 GW-MSK/yy.yy.209.101:51808 PUSH: Received control message: 'PUSH_REQUEST'
Tue Nov 05 10:45:37 2013 GW-MSK/yy.yy.209.101:51808 send_push_reply(): safe_cap=940
Tue Nov 05 10:45:37 2013 GW-MSK/yy.yy.209.101:51808 SENT CONTROL [GW-MSK]: 'PUSH_REPLY,route 192.168.9.0 255.255.255.0,route 11.11.11.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 11.11.11.6 11.11.11.5' (status=1)
[/more]