Hello, guys
i am a programmer and dumb in administration
I like to configure access from my home PC to internet via my VPS
From my PC (client) is shown that VPN connection established, but i am not able to navigate
below i put log and config files:
here is the server log
server log file - public ip names and addresses removed
Fri May 29 17:07:16 2020 us=27262 MULTI: multi_create_instance called
Fri May 29 17:07:16 2020 us=27262 80.183.34.6:59251 Re-using SSL/TLS context
Fri May 29 17:07:16 2020 us=27262 80.183.34.6:59251 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Fri May 29 17:07:16 2020 us=27262 80.183.34.6:59251 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Fri May 29 17:07:16 2020 us=27262 80.183.34.6:59251 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Fri May 29 17:07:16 2020 us=27262 80.183.34.6:59251 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Fri May 29 17:07:16 2020 us=27262 80.183.34.6:59251 TLS: Initial packet from [AF_INET6]::ffff:80.183.34.6:59251, sid=2b27b260 cbfcb72a
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 VERIFY OK: depth=1, C=RU, ST=Sankt-Petersburg, L=Sankt-Petersburg, O=Organization, OU=DMOSK, CN=ihor, name=server.domain.ru, emailAddress=master@dmosk.ru
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 VERIFY OK: depth=0, C=RU, ST=Sankt-Petersburg, L=Sankt-Petersburg, O=Organization, OU=DMOSK, CN=client1, name=server.domain.ru, emailAddress=master@dmosk.ru
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_VER=2.4.9
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_PLAT=win
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_PROTO=2
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_NCP=2
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_LZ4=1
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_LZ4v2=1
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_LZO=1
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_COMP_STUB=1
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_COMP_STUBv2=1
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_TCPNL=1
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 peer info: IV_GUI_VER=OpenVPN_GUI_11
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1541', remote='link-mtu 1557'
Fri May 29 17:07:16 2020 us=167895 80.183.34.6:59251 WARNING: 'cipher' is used inconsistently, local='cipher BF-CBC', remote='cipher AES-128-CBC'
Fri May 29 17:07:16 2020 us=230374 80.183.34.6:59251 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Fri May 29 17:07:16 2020 us=230374 80.183.34.6:59251 [client1] Peer Connection Initiated with [AF_INET6]::ffff:80.183.34.6:59251
Fri May 29 17:07:16 2020 us=230374 client1/80.183.34.6:59251 MULTI_sva: pool returned IPv4=172.16.10.6, IPv6=(Not enabled)
Fri May 29 17:07:16 2020 us=230374 client1/80.183.34.6:59251 MULTI: Learn: 172.16.10.6 -> client1/80.183.34.6:59251
Fri May 29 17:07:16 2020 us=230374 client1/80.183.34.6:59251 MULTI: primary virtual IP for client1/80.183.34.6:59251: 172.16.10.6
Fri May 29 17:07:17 2020 us=292898 client1/80.183.34.6:59251 PUSH: Received control message: 'PUSH_REQUEST'
Fri May 29 17:07:17 2020 us=292898 client1/80.183.34.6:59251 SENT CONTROL [client1]: 'PUSH_REPLY,route 176.16.0.0 255.255.255.0,redirect-gateway def1,dhcp-option DNS 8.8.8.8,route 172.16.10.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 172.16.10.6 172.16.10.5,peer-id 0,cipher AES-256-GCM' (status=1)
Fri May 29 17:07:17 2020 us=292898 client1/80.183.34.6:59251 Data Channel: using negotiated cipher 'AES-256-GCM'
Fri May 29 17:07:17 2020 us=292898 client1/80.183.34.6:59251 Data Channel MTU parms [ L:1549 D:1450 EF:49 EB:406 ET:0 EL:3 ]
Fri May 29 17:07:17 2020 us=292898 client1/80.183.34.6:59251 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri May 29 17:07:17 2020 us=292898 client1/80.183.34.6:59251 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri May 29 17:07:17 2020 us=577197 client1/80.183.34.6:59251 MULTI: bad source address from client [::], packet dropped
Server configuration is much shorter:
port 1194
proto udp
dev tun
dev-node "VPN Server"
dh "C:\\Program Files\\OpenVPN\\ssl\\dh.pem"
ca "C:\\Program Files\\OpenVPN\\ssl\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\ssl\\server.crt"
key "C:\\Program Files\\OpenVPN\\ssl\\server.key"
server 172.16.10.0 255.255.255.0
max-clients 4
keepalive 10 120
client-to-client
persist-key
persist-tun
status "C:\\Program Files\\OpenVPN\\log\\status.log"
log "C:\\Program Files\\OpenVPN\\log\\openvpn.log"
verb 4
mute 20
from the log i see that the client reaches the server was reached by the client ... and on that point all is finished no more internet navigation.
I suppose i miss some routing, could you help, please? I am already 20 hours struggling with the OpenVPN configuration
Thank you