OpenVPN routing

Hello,
I use windows version of OpenVPN
The goal is to make accessible my home network (192.168.1.0 255.255.255.0):

My server config:
«
;dev tap
dev tun
proto tcp-server
port 80
tls-server
server 192.168.2.0 255.255.255.0
push "route add 192.168.1.0 MASK 255.255.255.0"
comp-lzo
dh C:\\OpenVPN\\ssl\\dh1024.pem
ca C:\\OpenVPN\\ssl\\ca.crt
cert C:\\OpenVPN\\ssl\\spacecraft.crt
key C:\\OpenVPN\\ssl\\spacecraft.key
tls-auth C:\\OpenVPN\\ssl\\ta.key 0
client-config-dir ccd
;ifconfig-pool-persist ipp.txt
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
keepalive 10 120
;status C:\\OpenVPN\\log\\openvupn-status.log
;log C:\\OpenVPN\\log\\openvpn.log
verb 6
»



My client config:
«
;dev tap
dev tun
proto tcp
remote spacecraft.dyndns.info 80
route-delay 3
client
tls-client
ns-cert-type server
ca m:\\OpenVPN\\ssl\\ca.crt
cert m:\\OpenVPN\\ssl\\client_1.crt
key m:\\OpenVPN\\ssl\\client_1.key
tls-auth m:\\OpenVPN\\ssl\\ta.key 1
comp-lzo
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ping-restart 60
ping 10
verb 3
»


My client directory file “client_1”:
«
ifconfig-push 192.168.2.5 192.168.2.6
»




But ping 192.168.1.1 or other host’s address doesn’t work : (
adromanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

masnrockCommented:
Does the Open VPN server have an address on your home network? If not, there is a big part of your problem.
adromanAuthor Commented:
My home network is 192.168.1.0 / 255.255.255.0
OpenVPN network is 192.168.2.0 / 255.255.255.0
Address of OpenVPN virtual adapter (TAP-Windows Adapter V9) 192.168.2.1
Address of physical LAN adapter that is connected to and my home network is 192.168.1.5. OpenVPN is installed on this machine.
Address of home network gateway is 192.168.1.1
masnrockCommented:
What type of router do you have? One approach would be to have the internal address on openVPN match the home network. But then you need a way for the external network to use a different subnet. But that would usually require a business class router.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

adromanAuthor Commented:
I have ASUS RT-N65U with ability to add routes (see screenshot), the router have IP 192.168.1.1
What should I change in my server|client or maybe router configs?
router-web-interface.jpg
masnrockCommented:
I know this will not sound like fun, but for all the hassle, I would just as soon load OpenWRT on the router and load Open VPN that way. That way, all could possibly run on your router. Otherwise, you can at least use OpenWRT to define multiple LANs, then assign the external interface of the server to that, and the internal one to your existing subnet. That would fix your issue.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
adromanAuthor Commented:
As I understand, my router's chipset is Ralink and it's not supporter by Openwrt and DD-WRT, all I found is https://code.google.com/p/rt-n56u/     So is it so necessarily to change router, or maybe I could do with included features like port switching and static routing?
masnrockCommented:
Sorry, lost track of this one. Actually, your router is supported in OpenWRT, but not DD-WRT: http://wiki.openwrt.org/toh/asus/rt-n56u

But something that I would probably look at doing is to set up your OpenVPN server as a bridge, in which case, you don't have to deal with its NAT features and you have all on the same LAN.
adromanAuthor Commented:
Excuse me, but my router isn't Asus RT-N56U but ASUS RT-N65U and it supports only native ASUS firmware. But I recently found that this router has an openvpn feature, that works now fine for me. I suggest this topic is closed
adromanAuthor Commented:
Thank You
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VPN

From novice to tech pro — start learning today.