I've successfully built my first openVPN server on Ubuntu server and it connects using a bridge, but I must be missing something because I can't access any of my servers.
The connection assigns me a random IP address from the pool which I can ping remotely but I can't access it through the VPN tunnel. When ever I try and access it, it requests a username and password. I wasn't asked to provide either a username or password during installation so not sure what to enter for access.
Also, I can't access any of my other internal IP addresses on the server through the tunnel. Did I miss something?
Here is my server configuration file:
Here is my client config:local 192.168.1.16 #IP openVPN listens on
port 1200
proto udp
dev tap0
up "/etc/openvpn/up.sh br0"
down "/etc/openvpn/down.sh br0"
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.16 255.255.255.0 192.168.1.2 192.168.1.40
keepalive 10 120
tls-auth ta.key 0
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 1
client
dev tap
proto udp
remote XXX.XXX.XXX.XXX 1200
route 192.168.1.0 255.255.255.0 vpn_gateway 3
resolv-retry infinite
nobind
tls-auth ta.key 1
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\alpha.crt"
key "C:\\Program Files\\OpenVPN\\config\\alpha.key"
ns-cert-type server
cipher BF-CBC
comp-lzo
verb 1