Client cannot seem to connect to server
Posted: Mon Jul 06, 2009 4:06 am
Hi, hoping someone here can help me with some issues im having with openVPN.
I'm trying to allow a laptop to connect to the office network over the internet to access files and use the offices internet service.
I'm using bridging
The set-up at office
Internet -> Router -> Server
124.xxx.xxx.xxx -> 10.0.0.138 -> 10.0.0.20
and at home
Internet -> Router -> Client
126.xxx.xxx.xxx -> 192.168.2.1 -> 192.168.2.2
Both computers are running Windows XP SP3
Routers are set to forward 1194 to respective addresses.
-------------
server.ovpn
-------------
local 10.0.0.20
port 1194
proto udp
dev tap
dev-node tap-bridge
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
ifconfig-pool-persist ipp.txt
server-bridge 10.0.0.20 255.255.255.0 10.0.0.240 10.0.0.250
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
--------------
client1.ovpn
-------------
client
dev tap
proto udp
remote 124.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt" # Change the next two lines to match the files in the keys directory. This should be be different for each client.
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.key" # This file should be kept secret
ns-cert-type server
comp-lzo
verb 6
I'm trying to allow a laptop to connect to the office network over the internet to access files and use the offices internet service.
I'm using bridging
The set-up at office
Internet -> Router -> Server
124.xxx.xxx.xxx -> 10.0.0.138 -> 10.0.0.20
and at home
Internet -> Router -> Client
126.xxx.xxx.xxx -> 192.168.2.1 -> 192.168.2.2
Both computers are running Windows XP SP3
Routers are set to forward 1194 to respective addresses.
-------------
server.ovpn
-------------
local 10.0.0.20
port 1194
proto udp
dev tap
dev-node tap-bridge
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
ifconfig-pool-persist ipp.txt
server-bridge 10.0.0.20 255.255.255.0 10.0.0.240 10.0.0.250
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
--------------
client1.ovpn
-------------
client
dev tap
proto udp
remote 124.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt" # Change the next two lines to match the files in the keys directory. This should be be different for each client.
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.key" # This file should be kept secret
ns-cert-type server
comp-lzo
verb 6