Показать сообщение отдельно

  #18  
Старый 09.02.2010, 23:46
j0ker13
Участник форума
Регистрация: 28.07.2008
Сообщений: 199
С нами: 9361870

Репутация: 58
По умолчанию

помогите настроить опенвпн)
делал по первому посту)
куда копать?
server config
Цитата:
port 443
proto tcp
dev tap
cipher DES-EDE3-CBC
reneg-sec 60
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.10.200.0 255.255.255.0
client-config-dir ccd
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
keepalive 10 120
persist-key
persist-tun
comp-lzo
verb 4
status /var/log/openvpn-status.log
log-append /var/log/openvpn.log
client config
Цитата:
proto udp
dev tun
ca ca.crt
dh dh1024.pem
cert client.crt
key client.key
remote 92.63.96.190 443
verb 4
mute 20
comp-lzo
persist-key
persist-tun
resolv-retry infinite
nobind
client log
Цитата:
...
Tue Feb 09 21:47:04 2010 us=456652 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Tue Feb 09 21:47:04 2010 us=456691 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Tue Feb 09 21:47:04 2010 us=456770 Local Options hash (VER=V4): '41690919'
Tue Feb 09 21:47:04 2010 us=456835 Expected Remote Options hash (VER=V4): '530fdded'
Tue Feb 09 21:47:04 2010 us=456903 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Feb 09 21:47:04 2010 us=456969 UDPv4 link local: [undef]
Tue Feb 09 21:47:04 2010 us=456994 UDPv4 link remote: 92.63.96.190:443
Tue Feb 09 21:47:04 2010 us=570675 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Feb 09 21:47:07 2010 us=124851 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Feb 09 21:47:09 2010 us=677922 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Feb 09 21:47:12 2010 us=232022 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Feb 09 21:47:13 2010 us=556517 TCP/UDP: Closing socket
Tue Feb 09 21:47:13 2010 us=557678 SIGTERM[hard,] received, process exiting
server log
Цитата:
....
Tue Feb 9 18:33:31 2010 us=879010 TUN/TAP device tap0 opened
Tue Feb 9 18:33:31 2010 us=879041 Note: Cannot set tx queue length on tap0: Operation not permitted (errno=1)
Tue Feb 9 18:33:31 2010 us=879074 /sbin/ifconfig tap0 10.10.200.1 netmask 255.255.255.0 mtu 1500 broadcast 10.10.200.255
Tue Feb 9 18:33:31 2010 us=989319 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Feb 9 18:33:31 2010 us=989861 Listening for incoming TCP connection on [undef]:443
Tue Feb 9 18:33:31 2010 us=989941 Socket Buffers: R=[87380->131072] S=[16384->131072]
Tue Feb 9 18:33:31 2010 us=989966 TCPv4_SERVER link local (bound): [undef]:443
Tue Feb 9 18:33:31 2010 us=989979 TCPv4_SERVER link remote: [undef]
Tue Feb 9 18:33:31 2010 us=990001 MULTI: multi_init called, r=256 v=256
Tue Feb 9 18:33:31 2010 us=990096 IFCONFIG POOL: base=10.10.200.2 size=253
Tue Feb 9 18:33:31 2010 us=990132 IFCONFIG POOL LIST
Tue Feb 9 18:33:31 2010 us=990174 MULTI: TCP INIT maxclients=1024 maxevents=1028
Tue Feb 9 18:33:31 2010 us=990210 Initialization Sequence Completed
 
Ответить с цитированием