New install unable to ping or see network
Posted: Mon May 16, 2011 1:45 am
Hi there
I am new to OpenVPN, I have been playing with it for a couple of days with NO luck and getting a little frustrated. I am trying to setup my Windows 7 Ent. machine as the server and using my laptop as the client (note the laptop is connecting to internet via USB 3G dongle).
My internal network on the Win 7 machine is 10.11.11.0, I have configured my router to forward UDP 1194 to my Win 7 machine (10.11.11.2). I have been following the instructions and just can't seem to ping hosts.
The VPN seems to connect OK, trying the simple method of 1 server to 1 client, no error messages:
Generate a static key:
openvpn --genkey --secret static.key
Copy the static key to both client and server, over a pre-existing secure channel.
Server configuration file
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
Client configuration file
remote myremote.mydomain
dev tun
ifconfig 10.8.0.2 10.8.0.1secret static.key
Both Server and client are getting the 10.8.0.x addresses?
Should mention, also using dyndns, so I have sustitued the "myremote.mydomain" with my dyndns address. I have been running windows VPN PPTP 1723 till now with no problems, however I now need multiple VPN clients to connect and hoping to use OpenVPN as a solution.
I can't seem to find any information to help me?
I am new to OpenVPN, I have been playing with it for a couple of days with NO luck and getting a little frustrated. I am trying to setup my Windows 7 Ent. machine as the server and using my laptop as the client (note the laptop is connecting to internet via USB 3G dongle).
My internal network on the Win 7 machine is 10.11.11.0, I have configured my router to forward UDP 1194 to my Win 7 machine (10.11.11.2). I have been following the instructions and just can't seem to ping hosts.
The VPN seems to connect OK, trying the simple method of 1 server to 1 client, no error messages:
Generate a static key:
openvpn --genkey --secret static.key
Copy the static key to both client and server, over a pre-existing secure channel.
Server configuration file
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
Client configuration file
remote myremote.mydomain
dev tun
ifconfig 10.8.0.2 10.8.0.1secret static.key
Both Server and client are getting the 10.8.0.x addresses?
Should mention, also using dyndns, so I have sustitued the "myremote.mydomain" with my dyndns address. I have been running windows VPN PPTP 1723 till now with no problems, however I now need multiple VPN clients to connect and hoping to use OpenVPN as a solution.
I can't seem to find any information to help me?