LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-20-2009, 09:24 AM   #1
ycats
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
OpenVPN - Can't ping from server to client side hosts.


Code:
                    +---------------+                                    +-------------+
                    |  Linksys      |                                    |  Linksys    |
                    |  Router A     |<------------ Internet ------------>|  Router B   |
                    |  192.168.10.1 |                                    | 192.168.0.1 |
                    +---------------+                                    +-------------+
                          |                                                     |                       
                          |                                                     |                       
               +----------+--------+                                 +----------+--------+              
               |                   |                                 |                   |              
               |                   |                                 |                   |              
  +---------------+   +------------------------+        +---------------+   +------------------------+
  |               |   |   Linux                |        |               |   |   Linux                |
  |     Host A    |   |   OpenVPN  A (Server)  |        |     Host B    |   |   OpenVPN  A (Client)  |
  | 192.168.10.10 |   |   eth0: 192.168.10.19  |        | 192.168.0.100 |   |   eth0: 192.168.0.150  |
  |               |   |   tun0: 10.0.1.1       |        |               |   |   tun0: 10.0.1.6       |
  +---------------+   |                        |        +---------------+   |                        |
                      +------------------------+                            +------------------------+
What I can ping
Host A -> Host B
Host B -> Host A

Host A -> Router B
Host B -> Router A

Host A -> OpenVPN B
Host B -> OpenVPN A

VPN Server -> VPN Client
VPN Client -> VPN Server


What I can't ping
VPN Server to any client side host local address
VPN Client to any server side host local address


I have searched and searched for this but can not find any answers. Why can I not ping Host B from my OpenVPN server?
 
Old 04-07-2009, 09:25 AM   #2
ycats
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
OpenVPN - Can't ping from server to client side hosts.

I figured it out.

I didn't have routes configured in my routers for the tun0 network (10.0.1.0/24). After I added those routes everything works now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
Cannot ping OpenVPN client after server restart skubik Linux - Networking 3 10-15-2007 01:42 PM
openvpn server and client cannot ping both direction odie_chan Linux - Networking 0 07-08-2006 12:06 AM
OpenVPN Client can't ping host by name mrpc_cambodia Linux - General 4 04-18-2006 09:30 PM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM


All times are GMT -5. The time now is 07:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration