OpenVpn Host to site not working

Issues related to applications and software problems
Post Reply
corsaro8877
Posts: 5
Joined: 2020/03/30 14:11:19

OpenVpn Host to site not working

Post by corsaro8877 » 2020/03/31 20:52:54

Hello everybody,
I installed an openvpn host to site on my CentOS. The problem is that I can't connect from the windows client

When I run client1.ovpn, the connection doesn't seem to be getting to the server. I would need to connect to the server and access all the LAN machines

Code: Select all

https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.8-I602-Win10.exe

This is the configuration of my client1.ovpn

Code: Select all

client
dev tun
proto udp

remote public_ip_server 1194

ca ca.crt
cert client1.crt
key client1.key

cipher AES-256-CBC
auth SHA512
auth-nocache
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-128-CBC-SHA256

resolv-retry infinite
compress lzo
nobind
persist-key
persist-tun
mute-replay-warnings
verb 3
This is the output of the tail command

Code: Select all

[root@openvpn-srv ~]# tail -f /var/log/openvpn.log
Tue Mar 31 22:15:38 2020 /sbin/ip route add 10.10.10.0/24 via 10.10.10.2
Tue Mar 31 22:15:38 2020 Could not determine IPv4/IPv6 protocol. Using AF_INET
Tue Mar 31 22:15:38 2020 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Mar 31 22:15:38 2020 UDPv4 link local (bound): [AF_INET][undef]:1194
Tue Mar 31 22:15:38 2020 UDPv4 link remote: [AF_UNSPEC]
Tue Mar 31 22:15:38 2020 GID set to nobody
Tue Mar 31 22:15:38 2020 UID set to nobody
Tue Mar 31 22:15:38 2020 MULTI: multi_init called, r=256 v=256
Tue Mar 31 22:15:38 2020 IFCONFIG POOL: base=10.10.10.4 size=62, ipv6=0
Tue Mar 31 22:15:38 2020 Initialization Sequence Completed
This is the output of the ip a command

Code: Select all


[root@openvpn-srv ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether d8:cb:8a:e3:28:d1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.242/24 brd 192.168.10.255 scope global noprefixroute enp3s0
       valid_lft forever preferred_lft forever
    inet6 fe80::d87f:c681:900f:78f4/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 80:a5:89:7e:e9:36 brd ff:ff:ff:ff:ff:ff
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
    link/none
    inet 10.10.10.1 peer 10.10.10.2/32 scope global tun0
       valid_lft forever preferred_lft forever
    inet6 fe80::d10d:d786:b94e:198e/64 scope link flags 800
       valid_lft forever preferred_lft forever

Post Reply