Hi,
I had this same issue and spent several hours researching this - PITA!
gmaydude, setting the device to always connected did not work for me - I get ugly errors with this and connection does not succeed.
bee_grmph, you should not disable the firewall for the vpn - the next big virus will spread much too quickly with all ports open! Never do this, if you did this in a company network, change it quickly before you get fired!
The only (for now) working solution is to generate a dummy default gateway for the vpn network, e.g. in the server config file write:
push "route-metric 512"
push "route 0.0.0.0 0.0.0.0"
Please look at the answer given by Steffen Oppel here:
http://serverfault.com/questions/60794/windows-7-network-connection-with-no-default-gateway-any-way-to-change-the-un
and read the linked discussion:
http://social.technet.microsoft.com/Forums/en-GB/w7itpronetworking/thread/5e9a21ae-a116-4584-a917-2a0c244e0de7
This seems to work reliably, I did not find any problems, but I am still not 100% sure.
Please do not think of me as disrespectful, but I have passed several really dark points in my research today and just want to make you aware of them:
- Yes, of course MS again is the source of these problems, however it took me much to long to solve this issue and I was a little bit disappointed not to find the solution in any openvpn howto - all beginner tutorials fail and leave you frustrated because of this stupid Windows firewall issue not beeing mentioned. It really should be in the FAQ!
- Disabling the firewall for any adapter should
not be an option - you definitely want to keep not needed ports closed also in a "trusted" vpn (whatever this means) with client-to-client configuration, especially with windows clients you do not want to spread a virus in your network because it can connect to every machine on every port via your VPN - you should not give such advise to users and it should never be written in a book.
- This forum gives
no search results for the words "firewall windows 7" ("too common words") - this is another level of frustration beeing put on users trying to solve a problem and it should be changed.
- Googling for "openvpn windows 7 firewall" I get this actual thread on position three - however, when I follow
the link in the google search result page I find myself logged out of the forum - when I log in again, it does not redirect me back to the article, but shows the board index - and trying to search for the topic fails again because of the issue described above - extreme patience is needed to survive such annoyances extending an already painful research to pure torture...
It would be very appreciated if openvpn experts would like to review the solution provided by Steffen Oppel and confirm. And
please put it into the FAQ and into the beginner howtos and also in the other tutorials for windows 7. And please check your forum config, could be much more comfortable...
Thank you very much for your attention!
John