one server, two clients. no ping between clients?

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.
Locked
Kiste_Becks
OpenVpn Newbie
Posts: 5
Joined: Fri Aug 12, 2011 9:58 pm

one server, two clients. no ping between clients?

Post by Kiste_Becks » Fri Aug 12, 2011 10:03 pm

hi,

i can't ping from client1 -> client2 with this setup:

server-wf (client)
server-dmk (server)
ws-b (client)
no active firewall, just in "network i do not control"

server-wf (official ip) -> network i do not control ->server dmk (official ip) -> router(nat) -> ws-b
server-wf does not accept new incomming connections.


what works:
ping from server-wf -> server-dmk and server-dmk -> server-wf
ping from each client to the server

what does not work:
ping from ws-b to server-wf, why?



configs:

#ws-b
grep -v '#' ws-b.conf|grep -v ';'|grep -v '^$'
client
dev tun
proto udp
remote server-dmk 2500
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client11.crt
key client11.key
comp-lzo
verb 3


#server-dmk
port 2500
proto udp
dev tun
ca ca.crt
cert server.crt
dh dh1024.pem
server 10.8.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log 10
verb 3


#server-wf
client
dev tun
proto udp
remote server-dmk 2500
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client3.crt
key client3.key
comp-lzo
verb 3
keepalive 10 60

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: one server, two clients. no ping between clients?

Post by maikcat » Sat Aug 13, 2011 9:26 am

hi there

add client-to-client directive on your openvpn server config ,restart service
and try again.

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Kiste_Becks
OpenVpn Newbie
Posts: 5
Joined: Fri Aug 12, 2011 9:58 pm

Re: one server, two clients. no ping between clients?

Post by Kiste_Becks » Sat Aug 13, 2011 12:13 pm

ah that works, thx.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: one server, two clients. no ping between clients?

Post by maikcat » Sun Aug 14, 2011 11:22 am

ok then

closing topic

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Locked