savvaslim Hi I am a newbie regarding open vpn and been searching lots of forums but now its time to ask for help I have linksys router with a static ip Its port forwards calls of this ip to a windows xp where I installed the openvpn server. The ip in the lan is 192.168.1.99 In the same lan I have a linux where an application is running through the lan web. My aim is to connect to the xp using openvpn and through the browser access the application like i am in the same lan through the browser http://pcname:port/ the ip of the unix machine is 192.168.1.100 gateway is 192.168.1.1 my client conf is ***************** client dev tap #dev-node MyTAP proto udp remote 81.*.*.* <port> route 192.168.1.0 255.255.255.255 vpn_gateway 3 #This it the IP address scheme and subnet of your normal network your server is on. Your router would usually be 192.168.1.1 route 192.168.1.100 255.255.255.255 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" key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client.key" t ns-cert-type server cipher BF-CBC # Blowfish (default) encrytion comp-lzo verb 1 **************************** my server conf is ***************************** local 192.168.1.99 port <port> proto udp mssfix 1400 push "dhcp-option DNS 81.*.*.*" push "dhcp-option DNS 192.168.1.100" dev tap #dev-node MyTAP 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" server 192.168.3.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "route 192.168.1.0 255.255.255.0" push "route 192.168.1.100 255.255.255.0" push "redirect-gateway def1" keepalive 10 120 cipher BF-CBC # Blowfish (default) encryption comp-lzo max-clients 100 # Assign the maximum number of clients here persist-key persist-tun status openvpn-status.log verb 1 # This sets how detailed the log file will be. 0 causes problems and higher numbers can give you more detail for troubleshooting *******************************8 I am really sorry to bother you. I manage to connect but I cannot ping neither the server nor anything on the network, can you help me please?
ecrist First, I would suggest changing the LAN address subnet. 192.168.1/0.x is too common. You're going to run into conflicts. Do this, then see if you still have problems.
[deleted] ecrist wroteFirst, I would suggest changing the LAN address subnet. 192.168.1/0.x is too common. You're going to run into conflicts. Do this, then see if you still have problems. Using something obscure, i.e. 10.23.15.0/24.