[NEWBIE] Can't see other OpenVPN clients after logging in

Ask questions about your Access Server configuration here.
Locked
matiaszon
OpenVpn Newbie
Posts: 17
Joined: Fri Jul 13, 2012 9:14 am

[NEWBIE] Can't see other OpenVPN clients after logging in

Post by matiaszon » Fri Jul 13, 2012 9:27 am

Hi,

I am running Ubuntu 11.04 server and OpenVPN server on it. Here are my config files:

server.conf

Code: Select all

mode server
tls-server

local 192.168.83.5 ## ip/hostname of server
port 1194 ## default openvpn port
proto udp

#bridging directive
dev tap0 ## If you need multiple tap devices, add them here
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"

persist-key
persist-tun

#certificates and encryption
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh1024.pem
tls-auth ta.key 0 # This file is secret

cipher BF-CBC        # Blowfish (default)
comp-lzo

#DHCP Information
ifconfig-pool-persist ipp.txt
server-bridge 192.168.83.1 255.255.255.0 192.168.83.210 192.168.83.220
push "dhcp-option DNS 192.168.83.1"
push "dhcp-option WINS 192.168.83.1"
#push "dhcp-option DOMAIN mydomain.net"
max-clients 10 ## set this to the max number of clients that should be connected at a time

#log and security
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 3
script-security 3 system
client.ovpn (on Windows)

Code: Select all

client
dev tap
dev-node MyTap
proto udp
remote mydomain.net 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert latitude.crt
key latitude.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
And here are some facts.
I have ADSL connection with static IP, AirLive WT-2000ARM running as modem in bridge mode, then MikroTik (192.168.83.1) as PPPoE client as a router and firewall with port UDP1194 forwarded to ubuntu server (192.168.83.5). I can easily log in and see all my machines in LAN. However, VPN is configured for multiple logins and I can't see any other client, who is connecting to the same server, i.e. after login I receive IP 192.168.83.211 and my friend, who also logs in receives 192.168.83.210 but we can't see each other and we can see machines in LAN.

What should I do? I have an DHCP server running on MikroTik (192.168.83.1).

Thanks in advance.

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

Re: [NEWBIE] Can't see other OpenVPN clients after logging i

Post by maikcat » Fri Jul 13, 2012 10:50 am

add

client-to-client

to your server config

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"

matiaszon
OpenVpn Newbie
Posts: 17
Joined: Fri Jul 13, 2012 9:14 am

Re: [NEWBIE] Can't see other OpenVPN clients after logging i

Post by matiaszon » Fri Jul 13, 2012 11:19 am

:shock:
Thank you! Can't believe it was that easy!
Once again - thanks. :mrgreen:

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

Re: [NEWBIE] Can't see other OpenVPN clients after logging i

Post by maikcat » Fri Jul 13, 2012 1:30 pm

regards.

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