Not connected even at server and client

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
merlien
OpenVpn Newbie
Posts: 1
Joined: Thu Jul 06, 2023 11:25 am

Not connected even at server and client

Post by merlien » Thu Jul 06, 2023 11:29 am

I have mac mini m1 with 13.2 . i have installed openvpn on my device, then client is successfully connected with server. and my local server ip address is 192.168.1.247, and my client side ip address is 192.168.68.100, but the server network ip address is not ping in my client side, how to fix it.

server version:
OpenVPN 2.6.5 aarch64-apple-darwin22.4.0 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD]
library versions: OpenSSL 3.1.1 30 May 2023, LZO 2.10
Originally developed by James Yonan
Copyright (C) 2002-2023 OpenVPN Inc <sales@openvpn.net>
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_dco=no enable_debug=no enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_pam_dlopen=no enable_pedantic=no enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_werror=no enable_win32_dll=yes enable_wolfssl_options_h=yes enable_x509_alt_username=no with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=no with_mem_check=no with_openssl_engine=auto with_sysroot=no

server code:

dev tun
proto tcp4
port 1194
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA256
local 192.168.1.247
tls-version-min 1.2
tls-cipher "DEFAULT:@SECLEVEL=0"
;tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
topology subnet
tls-auth ta.key 0
server 192.168.1.0 255.255.255.0
allow-compression yes
push "dhcp-option DNS 8.8.8.8"
push "route-gateway 192.168.1.1"
push "route 192.168.1.247 255.255.255.0"
push "route 192.168.1.100"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3

server runing cmd:
sudo openvpn server.conf

client code:

client
dev tap
proto tcp4
remote sample.com 1194
resolv-retry infinite
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
auth SHA256
tls-version-min 1.2
tls-cipher "DEFAULT:@SECLEVEL=0"
tls-auth ta.key 1
key-direction 1
route 192.168.1.0 255.255.255.0 192.168.1.1
allow-compression yes
comp-lzo
verb 3
ca ca.crt
cert client.crt
key client.key
auth-nocache[

Post Reply