Cannot ping clients with static IP

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
pinkfonk
OpenVpn Newbie
Posts: 4
Joined: Sun Aug 15, 2021 5:49 am

Cannot ping clients with static IP

Post by pinkfonk » Tue Aug 17, 2021 4:21 am

Hi,
I am new to linux and networking
I assigned client X (on windows 10 at home PC) a static IP.
All other clients with dynamic IP and client X with static IP can connect to OpenVPN server
but server and other clients cannot ping client X that has static IP
while server and other clients can ping each other.

All other clients can ping and connect to client X via RDP before I assign static IP to client X.
I already turn off firewall on windows and I don't activate any firewall in the OpenVPN server.
what I should do to assign static IP to client X and client X can be accessed from other clients.
please advise

for temporary solution I currently turn off the static IP, and client X can be accessed again from other clients.

Code: Select all

local xxx.xxx.xxx.xxx
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
client-config-dir ccdir
#push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nobody
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify

Code: Select all

client
dev tun
proto udp
remote xx.xx.xx
resolv-retry infinite
nobind
block-outside-dns
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
pull-filter ignore "redirect-gateway def1"
route 10.1.0.0 255.255.255.128
route-metric 50
route-nopull
block-outside-dns
verb 3

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot ping clients with static IP

Post by TinCanTech » Tue Aug 17, 2021 12:55 pm

Post your Client log at verb 4

pinkfonk
OpenVpn Newbie
Posts: 4
Joined: Sun Aug 15, 2021 5:49 am

Re: Cannot ping clients with static IP

Post by pinkfonk » Tue Aug 17, 2021 6:19 pm

Hi,
This is the log
Thanks for your reply

Code: Select all

⏎[Aug 18, 2021, 24:57:06] SetupClient: signaling tun destroy event
⏎[Aug 18, 2021, 24:57:06] EVENT: DISCONNECTED ⏎[Aug 18, 2021, 24:57:24] OpenVPN core 3.git::98bf7f7f win x86_64 64-bit built on Jun 14 2021 09:02:16
⏎[Aug 18, 2021, 24:57:24] Frame=512/2048/512 mssfix-ctrl=1250
⏎[Aug 18, 2021, 24:57:24] UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
11 [ignore-unknown-option] [block-outside-dns]
12 [pull-filter] [ignore] [redirect-gateway def1]
16 [block-outside-dns]
17 [verb] [4]
⏎[Aug 18, 2021, 24:57:24] EVENT: RESOLVE ⏎[Aug 18, 2021, 24:57:24] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 24:57:24] EVENT: WAIT ⏎[Aug 18, 2021, 24:57:24] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 24:57:24] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 24:57:24] EVENT: CONNECTING ⏎[Aug 18, 2021, 24:57:24] Tunnel Options:V4,dev-type tun,link-mtu 1601,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA512,keysize 256,key-method 2,tls-client
⏎[Aug 18, 2021, 24:57:24] Creds: UsernameEmpty/PasswordEmpty
⏎[Aug 18, 2021, 24:57:24] Peer Info:
IV_VER=3.git::98bf7f7f
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC
IV_AUTO_SESS=1
IV_GUI_VER=OCWindows_3.3.1-2222
IV_SSO=openurl,crtext

⏎[Aug 18, 2021, 24:57:24] SSL Handshake: peer certificate: CN=server, 2048 bit RSA, cipher: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD

⏎[Aug 18, 2021, 24:57:24] Session is ACTIVE
⏎[Aug 18, 2021, 24:57:24] EVENT: GET_CONFIG ⏎[Aug 18, 2021, 24:57:24] Sending PUSH_REQUEST to server...
⏎[Aug 18, 2021, 24:57:24] Ignored due to route-nopull: [dhcp-option] [DNS] [1.1.1.1]
⏎[Aug 18, 2021, 24:57:24] Ignored due to route-nopull: [dhcp-option] [DNS] [8.8.8.8]
⏎[Aug 18, 2021, 24:57:24] OPTIONS:
0 [route] [10.1.0.0] [255.255.255.128]
1 [route-gateway] [10.8.0.1]
2 [topology] [subnet]
3 [ping] [10]
4 [ping-restart] [120]
5 [ifconfig] [10.8.0.4] [255.255.255.0]
6 [peer-id] [2]
7 [cipher] [AES-256-GCM]
8 [route-metric] [50]

⏎[Aug 18, 2021, 24:57:24] PROTOCOL OPTIONS:
  cipher: AES-256-GCM
  digest: NONE
  key-derivation: OpenVPN PRF
  compress: NONE
  peer ID: 2
  control channel: tls-crypt enabled
⏎[Aug 18, 2021, 24:57:24] EVENT: ASSIGN_IP ⏎[Aug 18, 2021, 24:57:24] CAPTURED OPTIONS:
Session Name: xxx.xxx.xxx.xxx
Layer: OSI_LAYER_3
Remote Address: xxx.xxx.xxx.xxx
Tunnel Addresses:
  10.8.0.4/24 -> 10.8.0.1
Reroute Gateway: IPv4=0 IPv6=0 flags=[ IPv4 ]
Block IPv6: no
Route Metric Default: 50
Add Routes:
  10.1.0.0/25
Exclude Routes:
DNS Servers:
Search Domains:

⏎[Aug 18, 2021, 24:57:26] SetupClient: transmitting tun setup list to \\.\pipe\agent_ovpnconnect
{
	"confirm_event" : "a80d000000000000",
	"destroy_event" : "ec0d000000000000",
	"tun" : 
	{
		"adapter_domain_suffix" : "",
		"add_routes" : 
		[
			{
				"address" : "10.1.0.0",
				"gateway" : "",
				"ipv6" : false,
				"metric" : -1,
				"net30" : false,
				"prefix_length" : 25
			}
		],
		"block_ipv6" : false,
		"layer" : 3,
		"mtu" : 0,
		"remote_address" : 
		{
			"address" : "xxx.xxx.xxx.xxx",
			"ipv6" : false
		},
		"reroute_gw" : 
		{
			"flags" : 256,
			"ipv4" : false,
			"ipv6" : false
		},
		"route_metric_default" : 50,
		"session_name" : "xxx.xxx.xxx.xxx",
		"tunnel_address_index_ipv4" : 0,
		"tunnel_address_index_ipv6" : -1,
		"tunnel_addresses" : 
		[
			{
				"address" : "10.8.0.4",
				"gateway" : "10.8.0.1",
				"ipv6" : false,
				"metric" : -1,
				"net30" : false,
				"prefix_length" : 24
			}
		]
	},
	"wintun" : false
}
POST np://[\\.\pipe\agent_ovpnconnect]/tun-setup : 200 OK
TAP ADAPTERS:
guid='{33CDF1F5-0CAA-45F9-A1E2-3F195BB1F45C}' index=4 name='Local Area Connection'
Open TAP device "Local Area Connection" PATH="\\.\Global\{33CDF1F5-0CAA-45F9-A1E2-3F195BB1F45C}.tap" SUCCEEDED
TAP-Windows Driver Version 9.24
ActionDeleteAllRoutesOnInterface iface_index=4
netsh interface ip set interface 4 metric=1
Ok.
netsh interface ip set address 4 static 10.8.0.4 255.255.255.0 gateway=10.8.0.1 gwmetric=50 store=active
IPHelper: add route 10.1.0.0/25 4 10.8.0.1 metric=50
ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
TAP: ARP flush succeeded
TAP handle: ec0d000000000000
⏎[Aug 18, 2021, 24:57:26] Connected via TUN_WIN
⏎[Aug 18, 2021, 24:57:26] EVENT: CONNECTED xxx.xxx.xxx.xxx:1194 (xxx.xxx.xxx.xxx) via /UDPv4 on TUN_WIN/10.8.0.4/ gw=[10.8.0.1/]⏎[Aug 18, 2021, 01:00:25] Client halt/restart: RESTART psid=0 reason=''
⏎[Aug 18, 2021, 01:00:25] EVENT: CLIENT_RESTART ⏎[Aug 18, 2021, 01:00:25] Client terminated, restarting in 2000 ms...
⏎[Aug 18, 2021, 01:00:25] SetupClient: signaling tun destroy event
⏎[Aug 18, 2021, 01:00:27] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:00:27] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:00:27] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:00:27] EVENT: WAIT ⏎[Aug 18, 2021, 01:00:27] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:00:29] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:00:37] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:00:37] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:00:37] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:00:37] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:00:37] EVENT: WAIT ⏎[Aug 18, 2021, 01:00:37] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:00:37] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:00:47] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:00:47] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:00:47] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:00:47] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:00:47] EVENT: WAIT ⏎[Aug 18, 2021, 01:00:47] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:00:48] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:00:57] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:00:57] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:00:57] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:00:57] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:00:57] EVENT: WAIT ⏎[Aug 18, 2021, 01:00:57] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:00:58] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:01:07] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:01:07] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:01:07] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:01:07] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:01:07] EVENT: WAIT ⏎[Aug 18, 2021, 01:01:07] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:01:08] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:01:17] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:01:17] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:01:17] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:01:17] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:01:17] EVENT: WAIT ⏎[Aug 18, 2021, 01:01:17] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:01:17] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:01:27] EVENT: PAUSE ⏎[Aug 18, 2021, 01:01:27] EVENT: RESUME ⏎[Aug 18, 2021, 01:01:27] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:01:27] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:01:27] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:01:27] EVENT: WAIT ⏎[Aug 18, 2021, 01:01:27] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:01:28] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:01:37] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:01:37] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:01:37] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:01:37] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:01:37] EVENT: WAIT ⏎[Aug 18, 2021, 01:01:37] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:01:37] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:01:47] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:01:47] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:01:47] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:01:47] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:01:47] EVENT: WAIT ⏎[Aug 18, 2021, 01:01:47] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:01:47] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:01:57] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:01:57] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:01:57] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:01:57] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:01:57] EVENT: WAIT ⏎[Aug 18, 2021, 01:01:57] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:01:58] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:02:07] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:02:07] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:02:07] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:02:07] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:02:07] EVENT: WAIT ⏎[Aug 18, 2021, 01:02:07] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:02:07] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:02:17] Server poll timeout, trying next remote entry...
⏎[Aug 18, 2021, 01:02:17] EVENT: RECONNECTING ⏎[Aug 18, 2021, 01:02:17] EVENT: RESOLVE ⏎[Aug 18, 2021, 01:02:17] Contacting xxx.xxx.xxx.xxx:1194 via UDP
⏎[Aug 18, 2021, 01:02:17] EVENT: WAIT ⏎[Aug 18, 2021, 01:02:17] WinCommandAgent: transmitting bypass route to xxx.xxx.xxx.xxx
{
	"host" : "xxx.xxx.xxx.xxx",
	"ipv6" : false
}

⏎[Aug 18, 2021, 01:02:17] Connecting to [xxx.xxx.xxx.xxx]:1194 (xxx.xxx.xxx.xxx) via UDPv4
⏎[Aug 18, 2021, 01:02:24] EVENT: CONNECTING ⏎[Aug 18, 2021, 01:02:24] Tunnel Options:V4,dev-type tun,link-mtu 1601,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA512,keysize 256,key-method 2,tls-client
⏎[Aug 18, 2021, 01:02:24] Creds: UsernameEmpty/PasswordEmpty
⏎[Aug 18, 2021, 01:02:24] Peer Info:
IV_VER=3.git::98bf7f7f
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC
IV_AUTO_SESS=1
IV_GUI_VER=OCWindows_3.3.1-2222
IV_SSO=openurl,crtext

⏎[Aug 18, 2021, 01:02:24] SSL Handshake: peer certificate: CN=server, 2048 bit RSA, cipher: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD

⏎[Aug 18, 2021, 01:02:24] Session is ACTIVE
⏎[Aug 18, 2021, 01:02:24] EVENT: GET_CONFIG ⏎[Aug 18, 2021, 01:02:24] Sending PUSH_REQUEST to server...
⏎[Aug 18, 2021, 01:02:24] Ignored due to route-nopull: [dhcp-option] [DNS] [1.1.1.1]
⏎[Aug 18, 2021, 01:02:24] Ignored due to route-nopull: [dhcp-option] [DNS] [8.8.8.8]
⏎[Aug 18, 2021, 01:02:24] OPTIONS:
0 [route] [10.1.0.0] [255.255.255.128]
1 [route-gateway] [10.8.0.1]
2 [topology] [subnet]
3 [ping] [10]
4 [ping-restart] [120]
5 [ifconfig] [10.8.0.12] [255.255.255.255]
6 [peer-id] [0]
7 [cipher] [AES-256-GCM]
8 [route-metric] [50]

⏎[Aug 18, 2021, 01:02:24] PROTOCOL OPTIONS:
  cipher: AES-256-GCM
  digest: NONE
  key-derivation: OpenVPN PRF
  compress: NONE
  peer ID: 0
  control channel: tls-crypt enabled
⏎[Aug 18, 2021, 01:02:24] EVENT: ASSIGN_IP ⏎[Aug 18, 2021, 01:02:24] CAPTURED OPTIONS:
Session Name: xxx.xxx.xxx.xxx
Layer: OSI_LAYER_3
Remote Address: xxx.xxx.xxx.xxx
Tunnel Addresses:
  10.8.0.12/32 -> 10.8.0.1
Reroute Gateway: IPv4=0 IPv6=0 flags=[ IPv4 ]
Block IPv6: no
Route Metric Default: 50
Add Routes:
  10.1.0.0/25
Exclude Routes:
DNS Servers:
Search Domains:

⏎[Aug 18, 2021, 01:02:29] SetupClient: transmitting tun setup list to \\.\pipe\agent_ovpnconnect
{
	"confirm_event" : "980c000000000000",
	"destroy_event" : "6c06000000000000",
	"tun" : 
	{
		"adapter_domain_suffix" : "",
		"add_routes" : 
		[
			{
				"address" : "10.1.0.0",
				"gateway" : "",
				"ipv6" : false,
				"metric" : -1,
				"net30" : false,
				"prefix_length" : 25
			}
		],
		"block_ipv6" : false,
		"layer" : 3,
		"mtu" : 0,
		"remote_address" : 
		{
			"address" : "xxx.xxx.xxx.xxx",
			"ipv6" : false
		},
		"reroute_gw" : 
		{
			"flags" : 256,
			"ipv4" : false,
			"ipv6" : false
		},
		"route_metric_default" : 50,
		"session_name" : "xxx.xxx.xxx.xxx",
		"tunnel_address_index_ipv4" : 0,
		"tunnel_address_index_ipv6" : -1,
		"tunnel_addresses" : 
		[
			{
				"address" : "10.8.0.12",
				"gateway" : "10.8.0.1",
				"ipv6" : false,
				"metric" : -1,
				"net30" : false,
				"prefix_length" : 32
			}
		]
	},
	"wintun" : false
}
POST np://[\\.\pipe\agent_ovpnconnect]/tun-setup : 200 OK
TAP ADAPTERS:
guid='{33CDF1F5-0CAA-45F9-A1E2-3F195BB1F45C}' index=4 name='Local Area Connection'
Open TAP device "Local Area Connection" PATH="\\.\Global\{33CDF1F5-0CAA-45F9-A1E2-3F195BB1F45C}.tap" SUCCEEDED
TAP-Windows Driver Version 9.24
ActionDeleteAllRoutesOnInterface iface_index=4
netsh interface ip set interface 4 metric=1
Ok.
netsh interface ip set address 4 static 10.8.0.12 255.255.255.255 gateway=10.8.0.1 gwmetric=50 store=active
IPHelper: add route 10.1.0.0/25 4 10.8.0.1 metric=50
ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
TAP: ARP flush succeeded
TAP handle: 880b000000000000
⏎[Aug 18, 2021, 01:02:29] Connected via TUN_WIN
⏎[Aug 18, 2021, 01:02:29] EVENT: CONNECTED xxx.xxx.xxx.xxx:1194 (xxx.xxx.xxx.xxx) via /UDPv4 on TUN_WIN/10.8.0.12/ gw=[10.8.0.1/]⏎

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot ping clients with static IP

Post by TinCanTech » Tue Aug 17, 2021 7:12 pm

Openvpn-Connect ..

* Moved *

Post Reply