D
D
Denis Sechin2016-02-16 17:35:08
openvpn
Denis Sechin, 2016-02-16 17:35:08

That connects then disconnects openvpn?

Understood. I connected, but now pings from ubuntu to windows do not go, but from windows ubuntu vpn pings. vpn connection is not displayed in ipconfig windows, writes, the transmission medium is not available
server config

port 1194
proto tcp
dev tun
# Specify where to look for keys
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/ keys/dh2048.pem
tls-auth /etc/openvpn/keys/ta.key 1
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
route 192.168.1.1 255.255.255.0
tls-server
tls-auth /etc/ openvpn/keys/ta.key 0
tls-timeout 120
auth SHA1
cipher BF-CBC
client-to-client
keepalive 10 120
comp-lzo
max-clients 10
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
verb 3

client config
client
dev tun
proto tcp
remote 192.168.1.127 1194
ca ca.crt
cert client.crt
key client.key
dh dh2048.pem
tls-auth ta.key 1
cipher AES-128-CBC
nobind
comp-lzo
persist-key
persist-tun
verb 6

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Slava Kryvel, 2016-02-16
@tamogavk

fix this first

Tue Feb 16 16:29:42 2016 192.168.1.103:53389 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1544', remote='link-mtu 1560'
Tue Feb 16 16:29:42 2016 192.168.1.103:53389 WARNING: 'cipher' is used inconsistently, local='cipher BF-CBC', remote='cipher AES-128-CBC'

by adding the necessary directives to the configs
and why do you have different times in the logs? are the clocks synchronous on the machines? Or is it different logs from different connections?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question