Hi,
I haven't been able to clearly find an example solving a problem that is exactly like mine, so I'm posting this request for help. Ideally, diagnosis of what's wrong with my ecosystem and applicable fixes.
What I'm trying to achieve is have a particular client connect twice to my server, getting two IPs within the VPN's IP pool. The pitfall I'm encountering is that the client with the two IPs only responds on one of those IPs externally. At this point, I'm not even sure this kind of system is supported by OpenVPN. All the connected computers should be in the same subnet.
Here's a brief outline of what's happening... followed by the config files found on the 3 machines.
10.24.10.1 = server (machine 1)
10.24.10.6 = client_a (machine 2)
10.24.10.18 = client_b0 (machine 3)
10.24.10.22 = client_b1 (machine 3)
From within server, or client_a, only one of these will work, the other will fail:
$ ping 10.24.10.18
$ ping 10.24.10.22
From within client_b0 / client_b1, both of these will work:
$ ping 10.24.10.18
$ ping 10.24.10.22
server
server 10.24.10.0 255.255.255.0
port 1194
proto udp
dev tun
ca keys/ca.crt
cert keys/example.com.crt
key keys/example.com.key
dh keys/dh1024.pem
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
client_a
client
dev tun
proto udp
remote example.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca keys/ca.crt
cert keys/client_a.crt
key keys/client_a.key
ns-cert-type server
comp-lzo
verb 3
client_b0
client
dev tun
proto udp
remote example.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca keys/ca.crt
cert keys/client_b0.crt
key keys/client_b0.key
ns-cert-type server
comp-lzo
verb 3
client_b1
client
dev tun
proto udp
remote example.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca keys/ca.crt
cert keys/client_b1.crt
key keys/client_b1.key
ns-cert-type server
comp-lzo
verb 3
Thanks~