忘记密码   免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 1781 | 回复: 2

[vpn] openvpn客户端连不上~~ [复制链接]

论坛徽章:
0
发表于 2018-08-13 13:56 |显示全部楼层
本帖最后由 yanzi281 于 2018-08-13 14:00 编辑

我想在公司装个vpn,使员工可以在家里可以像在公司一样访问公司的内部网络,可是按照网上的教程搭好了。服务端可以连上,客户端在内网中也可以连上,但是连上手机热点后就连不上了。。
公司的公网地址是:61.164.X.X   vpn服务器用的地址是192.168.111.11 详细配置如下,麻烦大神帮忙看下哪里出了问题  谢谢了
server端配置:
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
tls-auth ta.key 0
keepalive 10 120
comp-lzo
client-to-client
persist-key
persist-tun
status openvpn-status.log
verb 3

客户端配置:
client
dev tap
proto udp
remote 61.164.48.18 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3




客户端日志:
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_private_mode = 00000000
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_cert_private = DISABLED
Fri Aug 10 15:21:18 2018   pkcs11_pin_cache_period = -1
Fri Aug 10 15:21:18 2018   pkcs11_id = '[UNDEF]'
Fri Aug 10 15:21:18 2018   pkcs11_id_management = DISABLED
Fri Aug 10 15:21:18 2018   server_network = 0.0.0.0
Fri Aug 10 15:21:18 2018   server_netmask = 0.0.0.0
Fri Aug 10 15:21:18 2018   server_network_ipv6 = ::
Fri Aug 10 15:21:18 2018   server_netbits_ipv6 = 0
Fri Aug 10 15:21:18 2018   server_bridge_ip = 0.0.0.0
Fri Aug 10 15:21:18 2018   server_bridge_netmask = 0.0.0.0
Fri Aug 10 15:21:18 2018   server_bridge_pool_start = 0.0.0.0
Fri Aug 10 15:21:18 2018   server_bridge_pool_end = 0.0.0.0
Fri Aug 10 15:21:18 2018   ifconfig_pool_defined = DISABLED
Fri Aug 10 15:21:18 2018   ifconfig_pool_start = 0.0.0.0
Fri Aug 10 15:21:18 2018   ifconfig_pool_end = 0.0.0.0
Fri Aug 10 15:21:18 2018   ifconfig_pool_netmask = 0.0.0.0
Fri Aug 10 15:21:18 2018   ifconfig_pool_persist_filename = '[UNDEF]'
Fri Aug 10 15:21:18 2018   ifconfig_pool_persist_refresh_freq = 600
Fri Aug 10 15:21:18 2018   ifconfig_ipv6_pool_defined = DISABLED
Fri Aug 10 15:21:18 2018   ifconfig_ipv6_pool_base = ::
Fri Aug 10 15:21:18 2018   ifconfig_ipv6_pool_netbits = 0
Fri Aug 10 15:21:18 2018   n_bcast_buf = 256
Fri Aug 10 15:21:18 2018   tcp_queue_limit = 64
Fri Aug 10 15:21:18 2018   real_hash_size = 256
Fri Aug 10 15:21:18 2018   virtual_hash_size = 256
Fri Aug 10 15:21:18 2018   client_connect_script = '[UNDEF]'
Fri Aug 10 15:21:18 2018   learn_address_script = '[UNDEF]'
Fri Aug 10 15:21:18 2018   client_disconnect_script = '[UNDEF]'
Fri Aug 10 15:21:18 2018   client_config_dir = '[UNDEF]'
Fri Aug 10 15:21:18 2018   ccd_exclusive = DISABLED
Fri Aug 10 15:21:18 2018   tmp_dir = 'C:\Users\ywwl\AppData\Local\Temp\'
Fri Aug 10 15:21:18 2018   push_ifconfig_defined = DISABLED
Fri Aug 10 15:21:18 2018   push_ifconfig_local = 0.0.0.0
Fri Aug 10 15:21:18 2018   push_ifconfig_remote_netmask = 0.0.0.0
Fri Aug 10 15:21:18 2018   push_ifconfig_ipv6_defined = DISABLED
Fri Aug 10 15:21:18 2018   push_ifconfig_ipv6_local = ::/0
Fri Aug 10 15:21:18 2018   push_ifconfig_ipv6_remote = ::
Fri Aug 10 15:21:18 2018   enable_c2c = DISABLED
Fri Aug 10 15:21:18 2018   duplicate_cn = DISABLED
Fri Aug 10 15:21:18 2018   cf_max = 0
Fri Aug 10 15:21:18 2018   cf_per = 0
Fri Aug 10 15:21:18 2018   max_clients = 1024
Fri Aug 10 15:21:18 2018   max_routes_per_client = 256
Fri Aug 10 15:21:18 2018   auth_user_pass_verify_script = '[UNDEF]'
Fri Aug 10 15:21:18 2018   auth_user_pass_verify_script_via_file = DISABLED
Fri Aug 10 15:21:18 2018   auth_token_generate = DISABLED
Fri Aug 10 15:21:18 2018   auth_token_lifetime = 0
Fri Aug 10 15:21:18 2018   client = ENABLED
Fri Aug 10 15:21:18 2018   pull = ENABLED
Fri Aug 10 15:21:18 2018   auth_user_pass_file = '[UNDEF]'
Fri Aug 10 15:21:18 2018   show_net_up = DISABLED
Fri Aug 10 15:21:18 2018   route_method = 0
Fri Aug 10 15:21:18 2018   block_outside_dns = DISABLED
Fri Aug 10 15:21:18 2018   ip_win32_defined = DISABLED
Fri Aug 10 15:21:18 2018   ip_win32_type = 3
Fri Aug 10 15:21:18 2018   dhcp_masq_offset = 0
Fri Aug 10 15:21:18 2018   dhcp_lease_time = 31536000
Fri Aug 10 15:21:18 2018   tap_sleep = 0
Fri Aug 10 15:21:18 2018   dhcp_options = DISABLED
Fri Aug 10 15:21:18 2018   dhcp_renew = DISABLED
Fri Aug 10 15:21:18 2018   dhcp_pre_release = DISABLED
Fri Aug 10 15:21:18 2018   dhcp_release = DISABLED
Fri Aug 10 15:21:18 2018   domain = '[UNDEF]'
Fri Aug 10 15:21:18 2018   netbios_scope = '[UNDEF]'
Fri Aug 10 15:21:18 2018   netbios_node_type = 0
Fri Aug 10 15:21:18 2018   disable_nbt = DISABLED
Fri Aug 10 15:21:18 2018 OpenVPN 2.4.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jan 31 2017
Fri Aug 10 15:21:18 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Aug 10 15:21:18 2018 library versions: OpenSSL 1.0.2k  26 Jan 2017, LZO 2.09
Fri Aug 10 15:21:18 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Fri Aug 10 15:21:18 2018 Need hold release from management interface, waiting...
Fri Aug 10 15:21:19 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Fri Aug 10 15:21:19 2018 MANAGEMENT: CMD 'state on'
Fri Aug 10 15:21:19 2018 MANAGEMENT: CMD 'log all on'
Fri Aug 10 15:21:20 2018 MANAGEMENT: CMD 'hold off'
Fri Aug 10 15:21:20 2018 MANAGEMENT: CMD 'hold release'
Fri Aug 10 15:21:20 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Aug 10 15:21:20 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Aug 10 15:21:20 2018 LZO compression initializing
Fri Aug 10 15:21:20 2018 Control Channel MTU parms [ L:1624 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Fri Aug 10 15:21:20 2018 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ]
Fri Aug 10 15:21:20 2018 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Fri Aug 10 15:21:20 2018 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Fri Aug 10 15:21:20 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:20 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Aug 10 15:21:20 2018 Attempting to establish TCP connection with [AF_INET]61.164.48.18:1195 [nonblock]
Fri Aug 10 15:21:20 2018 MANAGEMENT: >STATE:1533885680,TCP_CONNECT,,,,,,
Fri Aug 10 15:21:21 2018 TCP connection established with [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:21 2018 TCP_CLIENT link local: (not bound)
Fri Aug 10 15:21:21 2018 TCP_CLIENT link remote: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:21 2018 MANAGEMENT: >STATE:1533885681,WAIT,,,,,,
Fri Aug 10 15:21:21 2018 WARNING: Bad encapsulated packet length from peer (18516), which must be > 0 and <= 1627 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Fri Aug 10 15:21:21 2018 Connection reset, restarting [0]
Fri Aug 10 15:21:21 2018 TCP/UDP: Closing socket
Fri Aug 10 15:21:21 2018 SIGUSR1[soft,connection-reset] received, process restarting
Fri Aug 10 15:21:21 2018 MANAGEMENT: >STATE:1533885681,RECONNECTING,connection-reset,,,,,
Fri Aug 10 15:21:21 2018 Restart pause, 5 second(s)
Fri Aug 10 15:21:26 2018 Re-using SSL/TLS context
Fri Aug 10 15:21:26 2018 LZO compression initializing
Fri Aug 10 15:21:26 2018 Control Channel MTU parms [ L:1624 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Fri Aug 10 15:21:26 2018 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ]
Fri Aug 10 15:21:26 2018 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Fri Aug 10 15:21:26 2018 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Fri Aug 10 15:21:26 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:26 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Aug 10 15:21:26 2018 Attempting to establish TCP connection with [AF_INET]61.164.48.18:1195 [nonblock]
Fri Aug 10 15:21:26 2018 MANAGEMENT: >STATE:1533885686,TCP_CONNECT,,,,,,
Fri Aug 10 15:21:27 2018 TCP connection established with [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:27 2018 TCP_CLIENT link local: (not bound)
Fri Aug 10 15:21:27 2018 TCP_CLIENT link remote: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:27 2018 MANAGEMENT: >STATE:1533885687,WAIT,,,,,,
Fri Aug 10 15:21:27 2018 WARNING: Bad encapsulated packet length from peer (18516), which must be > 0 and <= 1627 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Fri Aug 10 15:21:27 2018 Connection reset, restarting [0]
Fri Aug 10 15:21:27 2018 TCP/UDP: Closing socket
Fri Aug 10 15:21:27 2018 SIGUSR1[soft,connection-reset] received, process restarting
Fri Aug 10 15:21:27 2018 MANAGEMENT: >STATE:1533885687,RECONNECTING,connection-reset,,,,,
Fri Aug 10 15:21:27 2018 Restart pause, 5 second(s)
Fri Aug 10 15:21:32 2018 Re-using SSL/TLS context
Fri Aug 10 15:21:32 2018 LZO compression initializing
Fri Aug 10 15:21:32 2018 Control Channel MTU parms [ L:1624 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Fri Aug 10 15:21:32 2018 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ]
Fri Aug 10 15:21:32 2018 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Fri Aug 10 15:21:32 2018 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Fri Aug 10 15:21:32 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:32 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Aug 10 15:21:32 2018 Attempting to establish TCP connection with [AF_INET]61.164.48.18:1195 [nonblock]
Fri Aug 10 15:21:32 2018 MANAGEMENT: >STATE:1533885692,TCP_CONNECT,,,,,,
Fri Aug 10 15:21:33 2018 TCP connection established with [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:33 2018 TCP_CLIENT link local: (not bound)
Fri Aug 10 15:21:33 2018 TCP_CLIENT link remote: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:33 2018 MANAGEMENT: >STATE:1533885693,WAIT,,,,,,
Fri Aug 10 15:21:33 2018 WARNING: Bad encapsulated packet length from peer (18516), which must be > 0 and <= 1627 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Fri Aug 10 15:21:33 2018 Connection reset, restarting [0]
Fri Aug 10 15:21:33 2018 TCP/UDP: Closing socket
Fri Aug 10 15:21:33 2018 SIGUSR1[soft,connection-reset] received, process restarting
Fri Aug 10 15:21:33 2018 MANAGEMENT: >STATE:1533885693,RECONNECTING,connection-reset,,,,,
Fri Aug 10 15:21:33 2018 Restart pause, 5 second(s)
Fri Aug 10 15:21:38 2018 Re-using SSL/TLS context
Fri Aug 10 15:21:38 2018 LZO compression initializing
Fri Aug 10 15:21:38 2018 Control Channel MTU parms [ L:1624 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Fri Aug 10 15:21:38 2018 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ]
Fri Aug 10 15:21:38 2018 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Fri Aug 10 15:21:38 2018 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Fri Aug 10 15:21:38 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:38 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Aug 10 15:21:38 2018 Attempting to establish TCP connection with [AF_INET]61.164.48.18:1195 [nonblock]
Fri Aug 10 15:21:38 2018 MANAGEMENT: >STATE:1533885698,TCP_CONNECT,,,,,,
Fri Aug 10 15:21:39 2018 TCP connection established with [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:39 2018 TCP_CLIENT link local: (not bound)
Fri Aug 10 15:21:39 2018 TCP_CLIENT link remote: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:39 2018 MANAGEMENT: >STATE:1533885699,WAIT,,,,,,
Fri Aug 10 15:21:39 2018 WARNING: Bad encapsulated packet length from peer (18516), which must be > 0 and <= 1627 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Fri Aug 10 15:21:39 2018 Connection reset, restarting [0]
Fri Aug 10 15:21:39 2018 TCP/UDP: Closing socket
Fri Aug 10 15:21:39 2018 SIGUSR1[soft,connection-reset] received, process restarting
Fri Aug 10 15:21:39 2018 MANAGEMENT: >STATE:1533885699,RECONNECTING,connection-reset,,,,,
Fri Aug 10 15:21:39 2018 Restart pause, 5 second(s)
Fri Aug 10 15:21:44 2018 Re-using SSL/TLS context
Fri Aug 10 15:21:44 2018 LZO compression initializing
Fri Aug 10 15:21:44 2018 Control Channel MTU parms [ L:1624 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Fri Aug 10 15:21:44 2018 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ]
Fri Aug 10 15:21:44 2018 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Fri Aug 10 15:21:44 2018 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Fri Aug 10 15:21:44 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:44 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Aug 10 15:21:44 2018 Attempting to establish TCP connection with [AF_INET]61.164.48.18:1195 [nonblock]
Fri Aug 10 15:21:44 2018 MANAGEMENT: >STATE:1533885704,TCP_CONNECT,,,,,,
Fri Aug 10 15:21:45 2018 TCP connection established with [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:45 2018 TCP_CLIENT link local: (not bound)
Fri Aug 10 15:21:45 2018 TCP_CLIENT link remote: [AF_INET]61.164.48.18:1195
Fri Aug 10 15:21:45 2018 MANAGEMENT: >STATE:1533885705,WAIT,,,,,,
Fri Aug 10 15:21:45 2018 WARNING: Bad encapsulated packet length from peer (18516), which must be > 0 and <= 1627 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Fri Aug 10 15:21:45 2018 Connection reset, restarting [0]
Fri Aug 10 15:21:45 2018 TCP/UDP: Closing socket
Fri Aug 10 15:21:45 2018 SIGUSR1[soft,connection-reset] received, process restarting
Fri Aug 10 15:21:45 2018 MANAGEMENT: >STATE:1533885705,RECONNECTING,connection-reset,,,,,
Fri Aug 10 15:21:45 2018 Restart pause, 10 second(s)





论坛徽章:
0
发表于 2018-08-13 13:56 |显示全部楼层
本帖最后由 yanzi281 于 2018-08-13 14:05 编辑

服务端日志:
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_private_mode = 00000000
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_cert_private = DISABLED
Mon Aug 13 14:04:32 2018   pkcs11_pin_cache_period = -1
Mon Aug 13 14:04:32 2018   pkcs11_id = '[UNDEF]'
Mon Aug 13 14:04:32 2018   pkcs11_id_management = DISABLED
Mon Aug 13 14:04:32 2018   server_network = 10.8.0.0
Mon Aug 13 14:04:32 2018   server_netmask = 255.255.255.0
Mon Aug 13 14:04:32 2018   server_network_ipv6 = ::
Mon Aug 13 14:04:32 2018   server_netbits_ipv6 = 0
Mon Aug 13 14:04:32 2018   server_bridge_ip = 0.0.0.0
Mon Aug 13 14:04:32 2018   server_bridge_netmask = 0.0.0.0
Mon Aug 13 14:04:32 2018   server_bridge_pool_start = 0.0.0.0
Mon Aug 13 14:04:32 2018   server_bridge_pool_end = 0.0.0.0
Mon Aug 13 14:04:32 2018   push_entry = 'route 192.168.111.0 255.255.255.0'
Mon Aug 13 14:04:32 2018   push_entry = 'route 10.8.0.0 255.255.255.0'
Mon Aug 13 14:04:32 2018   push_entry = 'topology net30'
Mon Aug 13 14:04:32 2018   push_entry = 'ping 10'
Mon Aug 13 14:04:32 2018   push_entry = 'ping-restart 120'
Mon Aug 13 14:04:32 2018   ifconfig_pool_defined = ENABLED
Mon Aug 13 14:04:32 2018   ifconfig_pool_start = 10.8.0.4
Mon Aug 13 14:04:32 2018   ifconfig_pool_end = 10.8.0.251
Mon Aug 13 14:04:32 2018   ifconfig_pool_netmask = 0.0.0.0
Mon Aug 13 14:04:32 2018   ifconfig_pool_persist_filename = 'ipp.txt'
Mon Aug 13 14:04:32 2018   ifconfig_pool_persist_refresh_freq = 600
Mon Aug 13 14:04:32 2018   ifconfig_ipv6_pool_defined = DISABLED
Mon Aug 13 14:04:32 2018   ifconfig_ipv6_pool_base = ::
Mon Aug 13 14:04:32 2018   ifconfig_ipv6_pool_netbits = 0
Mon Aug 13 14:04:32 2018   n_bcast_buf = 256
Mon Aug 13 14:04:32 2018   tcp_queue_limit = 64
Mon Aug 13 14:04:32 2018   real_hash_size = 256
Mon Aug 13 14:04:32 2018   virtual_hash_size = 256
Mon Aug 13 14:04:32 2018   client_connect_script = '[UNDEF]'
Mon Aug 13 14:04:32 2018   learn_address_script = '[UNDEF]'
Mon Aug 13 14:04:32 2018   client_disconnect_script = '[UNDEF]'
Mon Aug 13 14:04:32 2018   client_config_dir = '[UNDEF]'
Mon Aug 13 14:04:32 2018   ccd_exclusive = DISABLED
Mon Aug 13 14:04:32 2018   tmp_dir = 'C:\Users\ADMINI~1\AppData\Local\Temp\'
Mon Aug 13 14:04:32 2018   push_ifconfig_defined = DISABLED
Mon Aug 13 14:04:32 2018   push_ifconfig_local = 0.0.0.0
Mon Aug 13 14:04:32 2018   push_ifconfig_remote_netmask = 0.0.0.0
Mon Aug 13 14:04:32 2018   push_ifconfig_ipv6_defined = DISABLED
Mon Aug 13 14:04:32 2018   push_ifconfig_ipv6_local = ::/0
Mon Aug 13 14:04:32 2018   push_ifconfig_ipv6_remote = ::
Mon Aug 13 14:04:32 2018   enable_c2c = ENABLED
Mon Aug 13 14:04:32 2018   duplicate_cn = DISABLED
Mon Aug 13 14:04:32 2018   cf_max = 0
Mon Aug 13 14:04:32 2018   cf_per = 0
Mon Aug 13 14:04:32 2018   max_clients = 1024
Mon Aug 13 14:04:32 2018   max_routes_per_client = 256
Mon Aug 13 14:04:32 2018   auth_user_pass_verify_script = '[UNDEF]'
Mon Aug 13 14:04:32 2018   auth_user_pass_verify_script_via_file = DISABLED
Mon Aug 13 14:04:32 2018   auth_token_generate = DISABLED
Mon Aug 13 14:04:32 2018   auth_token_lifetime = 0
Mon Aug 13 14:04:32 2018   client = DISABLED
Mon Aug 13 14:04:32 2018   pull = DISABLED
Mon Aug 13 14:04:32 2018   auth_user_pass_file = '[UNDEF]'
Mon Aug 13 14:04:32 2018   show_net_up = DISABLED
Mon Aug 13 14:04:32 2018   route_method = 0
Mon Aug 13 14:04:32 2018   block_outside_dns = DISABLED
Mon Aug 13 14:04:32 2018   ip_win32_defined = DISABLED
Mon Aug 13 14:04:32 2018   ip_win32_type = 3
Mon Aug 13 14:04:32 2018   dhcp_masq_offset = 0
Mon Aug 13 14:04:32 2018   dhcp_lease_time = 31536000
Mon Aug 13 14:04:32 2018   tap_sleep = 10
Mon Aug 13 14:04:32 2018   dhcp_options = DISABLED
Mon Aug 13 14:04:32 2018   dhcp_renew = DISABLED
Mon Aug 13 14:04:32 2018   dhcp_pre_release = DISABLED
Mon Aug 13 14:04:32 2018   dhcp_release = DISABLED
Mon Aug 13 14:04:32 2018   domain = '[UNDEF]'
Mon Aug 13 14:04:32 2018   netbios_scope = '[UNDEF]'
Mon Aug 13 14:04:32 2018   netbios_node_type = 0
Mon Aug 13 14:04:32 2018   disable_nbt = DISABLED
Mon Aug 13 14:04:32 2018 OpenVPN 2.4.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jan 31 2017
Mon Aug 13 14:04:32 2018 Windows version 6.1 (Windows 7) 64bit
Mon Aug 13 14:04:32 2018 library versions: OpenSSL 1.0.2k  26 Jan 2017, LZO 2.09
Mon Aug 13 14:04:32 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Aug 13 14:04:32 2018 Need hold release from management interface, waiting...
Mon Aug 13 14:04:32 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Aug 13 14:04:32 2018 MANAGEMENT: CMD 'state on'
Mon Aug 13 14:04:32 2018 MANAGEMENT: CMD 'log all on'
Mon Aug 13 14:04:32 2018 MANAGEMENT: CMD 'hold off'
Mon Aug 13 14:04:32 2018 MANAGEMENT: CMD 'hold release'
Mon Aug 13 14:04:33 2018 Diffie-Hellman initialized with 1024 bit key
Mon Aug 13 14:04:33 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Aug 13 14:04:33 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Aug 13 14:04:33 2018 TLS-Auth MTU parms [ L:1622 D:1184 EF:66 EB:0 ET:0 EL:3 ]
Mon Aug 13 14:04:33 2018 interactive service msg_channel=0
Mon Aug 13 14:04:33 2018 ROUTE_GATEWAY 192.168.111.254/255.255.255.0 I=11 HWADDR=00:cf:e0:36:c3:8d
Mon Aug 13 14:04:33 2018 open_tun
Mon Aug 13 14:04:33 2018 TAP-WIN32 device [openvpn] opened: \\.\Global\{3B386E22-0AF9-42EC-8523-205BB150FE7E}.tap
Mon Aug 13 14:04:33 2018 TAP-Windows Driver Version 9.21
Mon Aug 13 14:04:33 2018 TAP-Windows MTU=1500
Mon Aug 13 14:04:33 2018 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {3B386E22-0AF9-42EC-8523-205BB150FE7E} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Mon Aug 13 14:04:33 2018 Sleeping for 10 seconds...
Mon Aug 13 14:04:43 2018 Successful ARP Flush on interface [12] {3B386E22-0AF9-42EC-8523-205BB150FE7E}
Mon Aug 13 14:04:43 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Aug 13 14:04:43 2018 MANAGEMENT: >STATE:1534140283,ASSIGN_IP,,10.8.0.1,,,,
Mon Aug 13 14:04:43 2018 MANAGEMENT: >STATE:1534140283,ADD_ROUTES,,,,,,
Mon Aug 13 14:04:43 2018 C:\Windows\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Mon Aug 13 14:04:43 2018 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Mon Aug 13 14:04:43 2018 Route addition via IPAPI succeeded [adaptive]
Mon Aug 13 14:04:43 2018 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
Mon Aug 13 14:04:43 2018 Could not determine IPv4/IPv6 protocol. Using AF_INET6
Mon Aug 13 14:04:43 2018 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Aug 13 14:04:43 2018 setsockopt(IPV6_V6ONLY=0)
Mon Aug 13 14:04:43 2018 UDPv6 link local (bound): [AF_INET6][undef]:1195
Mon Aug 13 14:04:43 2018 UDPv6 link remote: [AF_UNSPEC]
Mon Aug 13 14:04:43 2018 MULTI: multi_init called, r=256 v=256
Mon Aug 13 14:04:43 2018 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Mon Aug 13 14:04:43 2018 ifconfig_pool_read(), in='client,10.8.0.4', TODO: IPv6
Mon Aug 13 14:04:43 2018 succeeded -> ifconfig_pool_set()
Mon Aug 13 14:04:43 2018 IFCONFIG POOL LIST
Mon Aug 13 14:04:43 2018 client,10.8.0.4
Mon Aug 13 14:04:43 2018 Initialization Sequence Completed
Mon Aug 13 14:04:43 2018 MANAGEMENT: >STATE:1534140283,CONNECTED,SUCCESS,10.8.0.1,,,::ffff:0:0,1195

论坛徽章:
23
天蝎座
日期:2014-05-13 18:05:59IT运维版块每日发帖之星
日期:2015-11-26 06:20:00操作系统版块每月发帖之星
日期:2015-12-02 14:57:54IT运维版块每月发帖之星
日期:2016-01-07 23:01:56IT运维版块每周发帖之星
日期:2016-01-07 23:04:2615-16赛季CBA联赛之青岛
日期:2016-01-23 07:58:272016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2016-03-23 14:20:06IT运维版块每日发帖之星
日期:2016-04-01 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-28 13:51:54IT运维版块每日发帖之星
日期:2015-11-23 06:20:00IT运维版块每日发帖之星
日期:2015-11-23 06:20:00
发表于 2018-09-07 09:41 |显示全部楼层
现在几千块路由器都带vpn功能。建议硬件设备。软件vpn太不靠谱了。
当然你们公司主管受的了就另当别论了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:wangnan@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP