[fsug-tvm] Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
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

[fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
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

[fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
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:

[fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
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  

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
did you add ip forwarding it the server nano /etc/sysctl.conf: net.ipv4.ip_forward = 1 save and restart server On Thu, Aug 7, 2014 at 1:14 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: Thanks Roopesh It is already there, in spite of

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
try this *push route 192.168.3.0 255.255.255.0* *client-to-client* in server conf On Thu, Aug 7, 2014 at 1:27 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: Thanks, yes I did [root@localhost ~]# sysctl -p net.ipv4.ip_forward = 1

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
tried, not working It cannot ping at the other side clients On Thursday, 7 August 2014 1:40 PM, Roopesh Sivam roopeshsi...@gmail.com wrote: try this push route 192.168.3.0 255.255.255.0 client-to-client in server conf On Thu, Aug 7, 2014 at 1:27 PM, 'John Joseph' via Free

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
can you copy paste your server conf and client conf On Thu, Aug 7, 2014 at 1:52 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: tried, not working It cannot ping at the other side clients On Thursday, 7 August 2014 1:40 PM, Roopesh

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
[root@reserved-94 openvpn]# cat server.conf port 10351 #- port proto udp #- protocol dev tun tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 reneg-sec 0 ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt cert /etc/openvpn/easy-rsa/2.0/keys/server.crt key /etc/openvpn/easy-rsa/2.0/keys/server.key    # This  key

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
on server /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE ??? On Thu, Aug 7, 2014 at 2:14 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: [root@reserved-94 openvpn]# cat server.conf port 10351 #- port proto udp #- protocol

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
Thanks roopen I did it on the server, but same result [root@reserved-94 network-scripts]# iptables -L -t nat Chain PREROUTING (policy ACCEPT) target prot opt source   destination Chain POSTROUTING (policy ACCEPT) target prot opt source   destination 

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
what is the gateway for server side lan, is it a route?? On Thu, Aug 7, 2014 at 2:49 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: Thanks roopen I did it on the server, but same result [root@reserved-94 network-scripts]# iptables -L -t

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
you need a route on the server lan gateway if the lan gate way is not the vpn server On Thu, Aug 7, 2014 at 3:00 PM, Roopesh Sivam roopeshsi...@gmail.com wrote: what is the gateway for server side lan, is it a route?? On Thu, Aug 7, 2014 at 2:49 PM, 'John Joseph' via Free Software Users

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
I added it also, this is what I had added, hope it is correct  route add -net 192.168.50.0 netmask 255.255.255.0 gw 192.168.50.10  /// All traffic for 192.168.50.X goes through 192.168.50.10 it did not work thanks On Thursday, 7 August 2014 3:02 PM, Roopesh Sivam roopeshsi...@gmail.com

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
you should add a route for vpn network in your gateway. if the vpn server machine is your gateway then you dont need the route. othewise for network 10.28.0.0 netmask 255.255.255.0 gw 192.168.50.30. On Thu, Aug 7, 2014 at 3:17 PM, 'John Joseph' via Free Software Users Group,

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
Thanks for the advice, vpn server is not my gateway, I tried route add -net 10.28.0.0 netmask 255.255.255.0 gw 192.168.50.30 then from the client I cannot even ping 192.168.50.30 later when i del the route route del -net 10.28.0.0 netmask 255.255.255.0 gw 192.168.50.30 I can ping up to

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
so u are connecting the vpn from a separate public network, and you internal gateway is on another network On Thu, Aug 7, 2014 at 3:51 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: Thanks for the advice, vpn server is not my gateway, I

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
i dint get you. can you help me with a diagram On Thu, Aug 7, 2014 at 5:20 PM, 'John Joseph' via Free Software Users Group, Thiruvananthapuram ilug-tvm@googlegroups.com wrote: Yes , the VPN server is away and in different place On Thursday, 7 August 2014 5:16 PM, Roopesh Sivam

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
first thing you have to do is you have to enable your gateway to route traffic to 10.28.0.0 network, regardless of vpn. for that you need a route in the gateway for 10.0.28.0/24 to vpn server [ try both ip 192.168.30.50 and 10.28.0.1 as gateway] then you can able to ping 10.0.28.1 from ur local

[fsug-tvm] Re: Ub=n able to connect to LAN using ubuntu 14.04 and 13.10

2014-08-07 Thread smr
hi vineeth, I saw a similar issue stated in this forum:: http://superuser.com/questions/309153/ubuntu-box-keeps-dropping-wired-network-connection So try to set eth0 to dhcp in the interfaces config, and now, after reboot, the machine should keep its network connection. On Wednesday, 6

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread V. Sasi Kumar
Dear friends, In this thread, the entire history of the conversation is being repeatedly sent and received by everyone, and also stored in the server so many times over and over. It would help readers and the archives if we edited out the unnecessary portions of the previous mails and retained

[fsug-tvm] Those who are intrested in deploying opensource VOIP, We can discuss here.

2014-08-07 Thread Roopesh Sivam
Most probabaly on freeswitch and asterisk. -- -- 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

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread Roopesh Sivam
What is the Gateway of vpn server?? -- -- 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

Re: [fsug-tvm] Re: Help requested for route command ( To access other side of VPN Server )

2014-08-07 Thread 'John Joseph' via Free Software Users Group, Thiruvananthapuram
i On Friday, 8 August 2014 1:38 AM, Roopesh Sivam roopeshsi...@gmail.com wrote: What is the Gateway of vpn server?? -- -- Hi  Roopesh, I will open a seperate thread  using my gmail id, Yahoo I am finding difficult to edit My gateway for the VPN server is 192.168.50.1 Please do not reply