senko My OpenVPN server is on Win 7 Desktop PC, which is behind NAT router. My home lan network is 192.168.0.0/24. I tried to connect my laptop, which is already connected to the home lan, to the OpenVPN server (on the Desktop PC) and it's working. But when I try to have internet connection, does not work. Believe me I have tried maybe everything which I saw in internet(Open VPN site, forums...). Can anyone who knows what's the solution to tell me ? I mean, just to write, what we MUST write in the config file on the server and client(if it's need) and also if we have to make/change some settings on the PCs or home router ? The network of OpenVPN server is the default - 10.8.0.0\24. Thank you in advance!
senko ok, I fixed the problem. On the server PC, I have enabled ip routing and it's working. To enable ip routing, it must go to "services.msc" and change the status of the ROUTING AND REMOTE ACCESS to automatic (it was disabled). Also it must go to "regedit" and change the value of “HKEY_LOCAL_MACHINE” > SYSTEM > CurrentControlSet >Services> Tcpip >Parameters > IP Enable Router from 0 to 1. But now when it's ok, when I check the IP address with which the laptop going out to internet, it's the router wan ip address. Shouldn't it to be the address from the vpn network ?
senko No no, my fault, in moment when i was posting the comment i realized what а stupidity i wrote. Of course I can't see the address 10. .... in public.