LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2010, 03:28 AM   #1
Vcepelin
LQ Newbie
 
Registered: Apr 2009
Posts: 20

Rep: Reputation: 0
OpenVPN question


Hi all
I have a question regarding OpenVPN
I have configured my ovpn server
it is in a private network 192.168.0.0
the ip addresses im using for the vpn connection are in the 10.9.1.0 network
but i want to connect my ovpn clinets to the 192.168.0.0 network
i read the manuals and I think the "push route" command will work for me,
but i cand understand fully the description of the command "push route"

# Push routes to the client to allow it
# to reach other private subnets behind
# the server. Remember that these
# private subnets will also need
# to know to route the OpenVPN client
# address pool (10.8.0.0/255.255.255.0)
# back to the OpenVPN server.
;push "route 192.168.10.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"

So the questions:
1These private subnets behind the server are routed from my vpn server or from another router
2How these private subnets "know to route" the open vpn address pool, is this a configuration of the router for this networks (192.168.0.0)or ?
 
Old 08-04-2010, 08:22 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
1 when you push a route, that tells the vpn clients that machines within that ip block can be reached by going over the vpn

2 anything in 192.168.x.x won't know about your vpn clients so either their gateway router will need to know to send those ips to the vpn server or the vpn server will need to masquerade/NAT the packets coming from the vpn clients
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn question cizzi Linux - Software 2 12-12-2009 06:32 AM
openvpn routing question watcher69b Linux - Server 3 01-18-2009 11:25 AM
OpenVPN question izghitu Linux - Software 1 02-15-2008 06:56 PM
OpenVpn question hasnain110 Linux - Networking 5 11-25-2007 08:50 AM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration