Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

1. Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

WILLIAN DOMICIANO MEDEIROS ROSA
willianrosa

(usa Debian)

Enviado em 27/09/2021 - 12:48h

Boa tarde pessoal,

Estou tentando pela primeira vez configurar um servidor openvpn para interligar as filiais a matriz aqui na empresa.
Ao iniciar o serviço o sistema da a mensagem " openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE"
Estou quebrando a cabeça e não consigo achar o erro, estou usando o Ubuntu 20.0

Vejam as conf do server.

dev tap
tls-server
mode server
ca /etc/openvpn/certificados/ca.crt
cert /etc/openvpn/certificados/servidor.crt
key /etc/openvpn/certificados/servidor.key
dh /etc/openvpn/certificados/dh.pem
ifconfig 10.0.1.1 10.0.1.2
port 1200
up /etc/openvpn/rotas-matriz.up
#down /etc/openvpn/rotas/down.sh
client-to-client
comp-lzo
persist-tun
persist-key
float
ping 10
ping-restart 120
push "ping 10"
push "ping-restart 120"
client-config-dir config_clientes
verb 5
log /var/log/openvpn.log

Desde ja agradeço a ajuda de todos.


  


2. Re: Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 27/09/2021 - 12:58h


a porta esta liberado no firewall ?



3. Re: Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

WILLIAN DOMICIANO MEDEIROS ROSA
willianrosa

(usa Debian)

Enviado em 27/09/2021 - 13:17h


danniel-lara escreveu:


a porta esta liberado no firewall ?


Boa tarde Daniel-lara

Esta liberada sim.


4. Re: Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

Carlos APC
Carlos_Cunha

(usa Linux Mint)

Enviado em 27/09/2021 - 14:14h

poste o conteúdo do arquivo de logs


cat /var/log/openvpn.log




#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#



5. Re: Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

WILLIAN DOMICIANO MEDEIROS ROSA
willianrosa

(usa Debian)

Enviado em 27/09/2021 - 14:21h


Carlos_Cunha escreveu:

poste o conteúdo do arquivo de logs


cat /var/log/openvpn.log




#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#


Boa tarde Carlos_Cunha

veja a saída do log.
Mon Sep 27 14:18:21 2021 us=600042 Current Parameter Settings:
Mon Sep 27 14:18:21 2021 us=600081 config = '/etc/openvpn/matriz.conf'
Mon Sep 27 14:18:21 2021 us=600088 mode = 1
Mon Sep 27 14:18:21 2021 us=600093 persist_config = DISABLED
Mon Sep 27 14:18:21 2021 us=600098 persist_mode = 1
Mon Sep 27 14:18:21 2021 us=600102 show_ciphers = DISABLED
Mon Sep 27 14:18:21 2021 us=600107 show_digests = DISABLED
Mon Sep 27 14:18:21 2021 us=600111 show_engines = DISABLED
Mon Sep 27 14:18:21 2021 us=600115 genkey = DISABLED
Mon Sep 27 14:18:21 2021 us=600120 key_pass_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600124 show_tls_ciphers = DISABLED
Mon Sep 27 14:18:21 2021 us=600128 connect_retry_max = 0
Mon Sep 27 14:18:21 2021 us=600133 Connection profiles [0]:
Mon Sep 27 14:18:21 2021 us=600138 proto = udp
Mon Sep 27 14:18:21 2021 us=600142 local = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600146 local_port = '1200'
Mon Sep 27 14:18:21 2021 us=600150 remote = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600155 remote_port = '1200'
Mon Sep 27 14:18:21 2021 us=600159 remote_float = ENABLED
Mon Sep 27 14:18:21 2021 us=600163 bind_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=600168 bind_local = ENABLED
Mon Sep 27 14:18:21 2021 us=600172 bind_ipv6_only = DISABLED
Mon Sep 27 14:18:21 2021 us=600176 connect_retry_seconds = 5
Mon Sep 27 14:18:21 2021 us=600180 connect_timeout = 120
Mon Sep 27 14:18:21 2021 us=600185 socks_proxy_server = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600189 socks_proxy_port = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600193 tun_mtu = 1500
Mon Sep 27 14:18:21 2021 us=600197 tun_mtu_defined = ENABLED
Mon Sep 27 14:18:21 2021 us=600201 link_mtu = 1500
Mon Sep 27 14:18:21 2021 us=600206 link_mtu_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=600210 tun_mtu_extra = 0
Mon Sep 27 14:18:21 2021 us=600214 tun_mtu_extra_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=600218 mtu_discover_type = -1
Mon Sep 27 14:18:21 2021 us=600223 fragment = 0
Mon Sep 27 14:18:21 2021 us=600227 mssfix = 1450
Mon Sep 27 14:18:21 2021 us=600231 explicit_exit_notification = 0
Mon Sep 27 14:18:21 2021 us=600235 Connection profiles END
Mon Sep 27 14:18:21 2021 us=600240 remote_random = DISABLED
Mon Sep 27 14:18:21 2021 us=600244 ipchange = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600248 dev = 'tun'
Mon Sep 27 14:18:21 2021 us=600252 dev_type = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600256 dev_node = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600261 lladdr = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600265 topology = 1
Mon Sep 27 14:18:21 2021 us=600269 ifconfig_local = '10.0.1.1'
Mon Sep 27 14:18:21 2021 us=600273 ifconfig_remote_netmask = '10.0.1.2'
Mon Sep 27 14:18:21 2021 us=600277 ifconfig_noexec = DISABLED
Mon Sep 27 14:18:21 2021 us=600281 ifconfig_nowarn = DISABLED
Mon Sep 27 14:18:21 2021 us=600286 ifconfig_ipv6_local = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600290 ifconfig_ipv6_netbits = 0
Mon Sep 27 14:18:21 2021 us=600294 ifconfig_ipv6_remote = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600298 shaper = 0
Mon Sep 27 14:18:21 2021 us=600303 mtu_test = 0
Mon Sep 27 14:18:21 2021 us=600307 mlock = DISABLED
Mon Sep 27 14:18:21 2021 us=600311 keepalive_ping = 0
Mon Sep 27 14:18:21 2021 us=600315 keepalive_timeout = 0
Mon Sep 27 14:18:21 2021 us=600319 inactivity_timeout = 0
Mon Sep 27 14:18:21 2021 us=600324 ping_send_timeout = 10
Mon Sep 27 14:18:21 2021 us=600328 ping_rec_timeout = 120
Mon Sep 27 14:18:21 2021 us=600332 ping_rec_timeout_action = 2
Mon Sep 27 14:18:21 2021 us=600336 ping_timer_remote = DISABLED
Mon Sep 27 14:18:21 2021 us=600340 remap_sigusr1 = 0
Mon Sep 27 14:18:21 2021 us=600345 persist_tun = ENABLED
Mon Sep 27 14:18:21 2021 us=600349 persist_local_ip = DISABLED
Mon Sep 27 14:18:21 2021 us=600353 persist_remote_ip = DISABLED
Mon Sep 27 14:18:21 2021 us=600357 persist_key = ENABLED
Mon Sep 27 14:18:21 2021 us=600361 passtos = DISABLED
Mon Sep 27 14:18:21 2021 us=600366 resolve_retry_seconds = 1000000000
Mon Sep 27 14:18:21 2021 us=600370 resolve_in_advance = DISABLED
Mon Sep 27 14:18:21 2021 us=600379 username = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600384 groupname = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600388 chroot_dir = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600392 cd_dir = '/etc/openvpn'
Mon Sep 27 14:18:21 2021 us=600396 writepid = '/run/openvpn/matriz.pid'
Mon Sep 27 14:18:21 2021 us=600401 up_script = '/etc/openvpn/rotas/up.sh'
Mon Sep 27 14:18:21 2021 us=600405 down_script = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600409 down_pre = DISABLED
Mon Sep 27 14:18:21 2021 us=600413 up_restart = DISABLED
Mon Sep 27 14:18:21 2021 us=600417 up_delay = DISABLED
Mon Sep 27 14:18:21 2021 us=600421 daemon = ENABLED
Mon Sep 27 14:18:21 2021 us=600425 inetd = 0
Mon Sep 27 14:18:21 2021 us=600430 log = ENABLED
Mon Sep 27 14:18:21 2021 us=600434 suppress_timestamps = DISABLED
Mon Sep 27 14:18:21 2021 us=600438 machine_readable_output = DISABLED
Mon Sep 27 14:18:21 2021 us=600442 nice = 0
Mon Sep 27 14:18:21 2021 us=600446 verbosity = 5
Mon Sep 27 14:18:21 2021 us=600450 mute = 0
Mon Sep 27 14:18:21 2021 us=600455 gremlin = 0
Mon Sep 27 14:18:21 2021 us=600459 status_file = '/run/openvpn/matriz.status'
Mon Sep 27 14:18:21 2021 us=600463 status_file_version = 1
Mon Sep 27 14:18:21 2021 us=600467 status_file_update_freq = 10
Mon Sep 27 14:18:21 2021 us=600472 occ = ENABLED
Mon Sep 27 14:18:21 2021 us=600476 rcvbuf = 0
Mon Sep 27 14:18:21 2021 us=600480 sndbuf = 0
Mon Sep 27 14:18:21 2021 us=600484 mark = 0
Mon Sep 27 14:18:21 2021 us=600488 sockflags = 0
Mon Sep 27 14:18:21 2021 us=600492 fast_io = DISABLED
Mon Sep 27 14:18:21 2021 us=600499 comp.alg = 2
Mon Sep 27 14:18:21 2021 us=600503 comp.flags = 1
Mon Sep 27 14:18:21 2021 us=600507 route_script = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600512 route_default_gateway = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600516 route_default_metric = 0
Mon Sep 27 14:18:21 2021 us=600520 route_noexec = DISABLED
Mon Sep 27 14:18:21 2021 us=600524 route_delay = 0
Mon Sep 27 14:18:21 2021 us=600528 route_delay_window = 30
Mon Sep 27 14:18:21 2021 us=600532 route_delay_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=600536 route_nopull = DISABLED
Mon Sep 27 14:18:21 2021 us=600541 route_gateway_via_dhcp = DISABLED
Mon Sep 27 14:18:21 2021 us=600545 allow_pull_fqdn = DISABLED
Mon Sep 27 14:18:21 2021 us=600549 management_addr = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600553 management_port = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600557 management_user_pass = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600561 management_log_history_cache = 250
Mon Sep 27 14:18:21 2021 us=600566 management_echo_buffer_size = 100
Mon Sep 27 14:18:21 2021 us=600570 management_write_peer_info_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600574 management_client_user = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600578 management_client_group = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600582 management_flags = 0
Mon Sep 27 14:18:21 2021 us=600587 shared_secret_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600591 key_direction = not set
Mon Sep 27 14:18:21 2021 us=600595 ciphername = 'BF-CBC'
Mon Sep 27 14:18:21 2021 us=600599 ncp_enabled = ENABLED
Mon Sep 27 14:18:21 2021 us=600604 ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Mon Sep 27 14:18:21 2021 us=600608 authname = 'SHA1'
Mon Sep 27 14:18:21 2021 us=600612 prng_hash = 'SHA1'
Mon Sep 27 14:18:21 2021 us=600617 prng_nonce_secret_len = 16
Mon Sep 27 14:18:21 2021 us=600621 keysize = 0
Mon Sep 27 14:18:21 2021 us=600625 engine = DISABLED
Mon Sep 27 14:18:21 2021 us=600629 replay = ENABLED
Mon Sep 27 14:18:21 2021 us=600634 mute_replay_warnings = DISABLED
Mon Sep 27 14:18:21 2021 us=600638 replay_window = 64
Mon Sep 27 14:18:21 2021 us=600642 replay_time = 15
Mon Sep 27 14:18:21 2021 us=600646 packet_id_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600651 use_iv = ENABLED
Mon Sep 27 14:18:21 2021 us=600655 test_crypto = DISABLED
Mon Sep 27 14:18:21 2021 us=600659 tls_server = ENABLED
Mon Sep 27 14:18:21 2021 us=600663 tls_client = DISABLED
Mon Sep 27 14:18:21 2021 us=600672 key_method = 2
Mon Sep 27 14:18:21 2021 us=600676 ca_file = '/etc/openvpn/certificados/ca.crt'
Mon Sep 27 14:18:21 2021 us=600681 ca_path = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600685 dh_file = '/etc/openvpn/certificados/dh.pem'
Mon Sep 27 14:18:21 2021 us=600689 cert_file = '/etc/openvpn/certificados/servidor.req'
Mon Sep 27 14:18:21 2021 us=600694 extra_certs_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600698 priv_key_file = '/etc/openvpn/certificados/servidor.key'
Mon Sep 27 14:18:21 2021 us=600702 pkcs12_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600706 cipher_list = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600711 cipher_list_tls13 = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600715 tls_cert_profile = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600719 tls_verify = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600723 tls_export_cert = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600727 verify_x509_type = 0
Mon Sep 27 14:18:21 2021 us=600732 verify_x509_name = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600736 crl_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600740 ns_cert_type = 0
Mon Sep 27 14:18:21 2021 us=600744 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600748 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600753 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600757 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600761 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600765 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600769 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600773 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600778 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600782 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600786 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600790 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600794 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600798 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600803 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600807 remote_cert_ku[i] = 0
Mon Sep 27 14:18:21 2021 us=600811 remote_cert_eku = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600816 ssl_flags = 0
Mon Sep 27 14:18:21 2021 us=600820 tls_timeout = 2
Mon Sep 27 14:18:21 2021 us=600824 renegotiate_bytes = -1
Mon Sep 27 14:18:21 2021 us=600828 renegotiate_packets = 0
Mon Sep 27 14:18:21 2021 us=600833 renegotiate_seconds = 3600
Mon Sep 27 14:18:21 2021 us=600837 handshake_window = 60
Mon Sep 27 14:18:21 2021 us=600841 transition_window = 3600
Mon Sep 27 14:18:21 2021 us=600845 single_session = DISABLED
Mon Sep 27 14:18:21 2021 us=600850 push_peer_info = DISABLED
Mon Sep 27 14:18:21 2021 us=600854 tls_exit = DISABLED
Mon Sep 27 14:18:21 2021 us=600858 tls_auth_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600862 tls_crypt_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=600867 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600871 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600875 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600879 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600883 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600888 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600892 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600896 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600900 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600904 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600908 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600912 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600917 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600921 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600925 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600933 pkcs11_protected_authentication = DISABLED
Mon Sep 27 14:18:21 2021 us=600938 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600942 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600947 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600951 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600955 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600959 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600963 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600968 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600972 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600976 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600980 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600984 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600988 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600993 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=600997 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=601001 pkcs11_private_mode = 00000000
Mon Sep 27 14:18:21 2021 us=601005 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601009 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601014 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601018 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601022 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601026 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601030 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601034 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601038 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601043 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601047 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601051 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601055 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601059 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601063 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601068 pkcs11_cert_private = DISABLED
Mon Sep 27 14:18:21 2021 us=601072 pkcs11_pin_cache_period = -1
Mon Sep 27 14:18:21 2021 us=601076 pkcs11_id = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601080 pkcs11_id_management = DISABLED
Mon Sep 27 14:18:21 2021 us=601086 server_network = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601091 server_netmask = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601099 server_network_ipv6 = ::
Mon Sep 27 14:18:21 2021 us=601103 server_netbits_ipv6 = 0
Mon Sep 27 14:18:21 2021 us=601108 server_bridge_ip = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601113 server_bridge_netmask = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601117 server_bridge_pool_start = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601122 server_bridge_pool_end = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601126 push_entry = 'ping 10'
Mon Sep 27 14:18:21 2021 us=601131 push_entry = 'ping-restart 120'
Mon Sep 27 14:18:21 2021 us=601135 ifconfig_pool_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=601139 ifconfig_pool_start = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601144 ifconfig_pool_end = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601149 ifconfig_pool_netmask = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601153 ifconfig_pool_persist_filename = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601157 ifconfig_pool_persist_refresh_freq = 600
Mon Sep 27 14:18:21 2021 us=601161 ifconfig_ipv6_pool_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=601166 ifconfig_ipv6_pool_base = ::
Mon Sep 27 14:18:21 2021 us=601170 ifconfig_ipv6_pool_netbits = 0
Mon Sep 27 14:18:21 2021 us=601175 n_bcast_buf = 256
Mon Sep 27 14:18:21 2021 us=601179 tcp_queue_limit = 64
Mon Sep 27 14:18:21 2021 us=601183 real_hash_size = 256
Mon Sep 27 14:18:21 2021 us=601188 virtual_hash_size = 256
Mon Sep 27 14:18:21 2021 us=601192 client_connect_script = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601196 learn_address_script = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601204 client_disconnect_script = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601209 client_config_dir = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601213 ccd_exclusive = DISABLED
Mon Sep 27 14:18:21 2021 us=601218 tmp_dir = '/tmp'
Mon Sep 27 14:18:21 2021 us=601222 push_ifconfig_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=601227 push_ifconfig_local = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601231 push_ifconfig_remote_netmask = 0.0.0.0
Mon Sep 27 14:18:21 2021 us=601236 push_ifconfig_ipv6_defined = DISABLED
Mon Sep 27 14:18:21 2021 us=601240 push_ifconfig_ipv6_local = ::/0
Mon Sep 27 14:18:21 2021 us=601245 push_ifconfig_ipv6_remote = ::
Mon Sep 27 14:18:21 2021 us=601249 enable_c2c = ENABLED
Mon Sep 27 14:18:21 2021 us=601254 duplicate_cn = DISABLED
Mon Sep 27 14:18:21 2021 us=601258 cf_max = 0
Mon Sep 27 14:18:21 2021 us=601262 cf_per = 0
Mon Sep 27 14:18:21 2021 us=601267 max_clients = 1024
Mon Sep 27 14:18:21 2021 us=601271 max_routes_per_client = 256
Mon Sep 27 14:18:21 2021 us=601275 auth_user_pass_verify_script = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601279 auth_user_pass_verify_script_via_file = DISABLED
Mon Sep 27 14:18:21 2021 us=601283 auth_token_generate = DISABLED
Mon Sep 27 14:18:21 2021 us=601288 auth_token_lifetime = 0
Mon Sep 27 14:18:21 2021 us=601292 port_share_host = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601296 port_share_port = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601300 client = DISABLED
Mon Sep 27 14:18:21 2021 us=601304 pull = DISABLED
Mon Sep 27 14:18:21 2021 us=601309 auth_user_pass_file = '[UNDEF]'
Mon Sep 27 14:18:21 2021 us=601314 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021
Mon Sep 27 14:18:21 2021 us=601322 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Mon Sep 27 14:18:21 2021 us=601445 WARNING: --keepalive option is missing from server config
Mon Sep 27 14:18:21 2021 us=601512 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.
Mon Sep 27 14:18:21 2021 us=601520 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mon Sep 27 14:18:21 2021 us=601669 Diffie-Hellman initialized with 2048 bit key
Mon Sep 27 14:18:21 2021 us=601741 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Mon Sep 27 14:18:21 2021 us=601751 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Mon Sep 27 14:18:21 2021 us=601757 Cannot load certificate file /etc/openvpn/certificados/servidor.req
Mon Sep 27 14:18:21 2021 us=601761 Exiting due to fatal error






6. Re: Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

Carlos APC
Carlos_Cunha

(usa Linux Mint)

Enviado em 27/09/2021 - 14:43h



Mon Sep 27 14:18:21 2021 us=601741 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Mon Sep 27 14:18:21 2021 us=601751 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Mon Sep 27 14:18:21 2021 us=601757 Cannot load certificate file /etc/openvpn/certificados/servidor.req
Mon Sep 27 14:18:21 2021 us=601761 Exiting due to fatal error


Ele esta dado erro na parte dos certificados... acho que vc fez algo errado ou esta faltando algo...

Da uma olhada nesse "HOW TO" é bem simples e direto




#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#



7. Resolvido

WILLIAN DOMICIANO MEDEIROS ROSA
willianrosa

(usa Debian)

Enviado em 15/10/2021 - 17:46h


Carlos_Cunha escreveu:



Mon Sep 27 14:18:21 2021 us=601741 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Mon Sep 27 14:18:21 2021 us=601751 OpenSSL: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Mon Sep 27 14:18:21 2021 us=601757 Cannot load certificate file /etc/openvpn/certificados/servidor.req
Mon Sep 27 14:18:21 2021 us=601761 Exiting due to fatal error


Ele esta dado erro na parte dos certificados... acho que vc fez algo errado ou esta faltando algo...

Da uma olhada nesse "HOW TO" é bem simples e direto




#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#


Boa tarde!
Desculpe a demora, eu não sabia e estava criando o certificado com senha, refiz todo o processo e agora esta funcionando.
Vlw pelas dicas.


8. Re: Erro openvpn@matriz.service: Main process exited, code=exited, status=1/FAILURE

Carlos APC
Carlos_Cunha

(usa Linux Mint)

Enviado em 18/10/2021 - 17:33h




Boa tarde!
Desculpe a demora, eu não sabia e estava criando o certificado com senha, refiz todo o processo e agora esta funcionando.
Vlw pelas dicas.


Blz, menos mau então.
Marque a melhor resposta e de como finalizado.

#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts