Thanks Roopesh
It is already there, in spite of adding it also cannot do
my cliente route -n shows

joseph@saji:~$ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.3.1     0.0.0.0         UG    0      0        0 wlan0
10.28.0.1       10.28.0.5       255.255.255.255 UGH   0      0        0 tun0
10.28.0.5       0.0.0.0         255.255.255.255 UH    0      0        0 tun0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
172.16.5.0      10.28.0.5       255.255.255.0   UG    0      0        0 tun0
172.16.6.0      10.28.0.5       255.255.255.0   UG    0      0        0 tun0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
192.168.50.0    10.28.0.5       255.255.255.0   UG    0      0        0 tun0





On Thursday, 7 August 2014 1:08 PM, Roopesh Sivam <roopeshsi...@gmail.com> 
wrote:
 


this will automaticall add a new route to 50.0/24 network when the vpn tunnel 
is up




On Thu, Aug 7, 2014 at 1:07 PM, Roopesh Sivam <roopeshsi...@gmail.com> wrote:

Add a route in client configuration file
>
>push "route 192.168.50.0 255.255.255.0"
>
>
>
>
>On Thu, Aug 7, 2014 at 12:52 PM, John Joseph <jjk_s...@yahoo.com> wrote:
>
>Right now I connected using client to server, any advice 
>>
>>
>>
>>
>>On Thursday, 7 August 2014 12:43 PM, sivam404 <roopeshsi...@gmail.com> wrote:
>> 
>>
>>
>>
>>did you mean from client to client, or cliet to server network??
>>On Thursday, August 7, 2014 11:18:35 AM UTC+4, John Joseph wrote:
>>
>>>Hi All, 
>>>I have been success in setting up a OpenVPN server and I am able to connect 
>>>to the server from my clients, but clients cannot ping behind VPN eth1 
>>>interfaces
>>>ie from my client I can ping VPNServer eth1 (192.168.50.30), but cannot ping 
>>>to the other side, It has to do some setting with route command  
>>>see this traceroute results from the client 
>>>
>>>joseph@saji:~$ traceroute 192.168.50.30
>>>traceroute to 192.168.50.30 (192.168.50.30), 30 hops max, 60 byte packets
>>> 1 
 192.168.50.30 (192.168.50.30)  294.031 ms  294.041 ms  294.050 ms
>>>joseph@saji:~$ 
>>>
>>>but when I do trace route to some IP inside the LAN it stops 
>>>joseph@saji:~$ traceroute 192.168.50.10
>>>traceroute to 192.168.50.10 (192.168.50.10), 30 hops max, 60 byte packets
>>> 1  10.28.0.1 (10.28.0.1)  296.795 ms  296.802 ms  296.803 ms
>>> 2  * * *
>>> 3  * * *
>>> 4  * * *
>>>
>>>So it reaches till the VPN server tunnel interface (10.28.0.1) then gets 
>>>confused, we have to tell the packet from 10.28.0.1 to go to eth1. I tried 
>>>with some route command which all was not correct
>>>Like to get help, details of the network are given below 
>>>
>>>
>>>
>>>My VPN Client ip is
 192.168.3.101 
>>>
>>>and My VPN Server  interfaces are  
>>>    eth0= connected to the public IP 
>>>    eth1= interface is 192.168.50.30/24 
>>>
>>>
>>>I did a openvpn connection from my client to OpenVP Server now 
>>>my client interfaces are 
>>>    eth0 = 192.168.3.101
>>>    tun0 = 10.28.0.10
>>>
>>>My Server interfaces are 
>>>    eth0 = Public IP
>>>    eth1 = 192.168.50.30/24
>>>    tun0 = 10.28.0.1
>>>
>>>My Server route -n command shows 
>>>
>>>[root@reserved-94 openvpn]# route -n
>>>Kernel IP
 routing table
>>>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>>>10.10.10.11     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
>>>10.28.0.2       0.0.0.0         255.255.255.255 UH    0      0        0 tun0
>>>XXX.XX.XX.XX    0.0.0.0         255.255.255.252 U     1      0        0 eth0
>>>10.28.0.0       10.28.0.2       255.255.255.0   UG    0      0        0 tun0
>>>192.168.50.0    0.0.0.0         255.255.255.0   U     1      0        0 eth1
>>>0.0.0.0         XXX.XX.XX.XX    0.0.0.0         UG    0      0        0 eth0
>>>     
>>>Advice and help requested
>>>thanks 
>>>Joseph John 
>>>
>>
>>
>

-- 
-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Free 
Software Users Group,  Thiruvananthapuram" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ilug-tvm+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [fsug-tvm... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
    • [fsu... sivam404
      • ... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
        • ... Roopesh Sivam
          • ... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
            • ... Roopesh Sivam
              • ... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
                • ... Roopesh Sivam
                • ... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
                • ... Roopesh Sivam
                • ... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
                • ... Roopesh Sivam
                • ... 'John Joseph' via Free Software Users Group, Thiruvananthapuram
                • ... Roopesh Sivam
                • ... Roopesh Sivam

Reply via email to