I am running Ubuntu 11.04 server and OpenVPN server on it. Here are my config files:
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
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
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.