File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes OpenVPN routing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "OpenVPN routing" Watch "OpenVPN routing" New topic
Author

OpenVPN routing

Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
Hi there, I'm using Suse Linux 10.1 and I'm trying to connect to a server behind a firewall using OpenVPN. My client is KVPNC.
I can successfully establish the connection, but I can't ping the remote server. I suppose the problem is the routing.
I need some help, please.

The routing is set to be substituted by the VPN server, so once I connect it changes from

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default home.gateway 0.0.0.0 UG 0 0 0 eth1

to
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
host-80-74-186- home.gateway 255.255.255.255 UGH 0 0 0 eth1
192.168.0.82 192.168.200.5 255.255.255.255 UGH 0 0 0 tun0
192.168.200.1 192.168.200.5 255.255.255.255 UGH 0 0 0 tun0
192.168.200.5 * 255.255.255.255 UH 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.200.5 0.0.0.0 UG 0 0 0 tun0


at this point, If I try to ping 192.168.0.82

--- 192.168.0.82 ping statistics ---
38 packets transmitted, 0 received, 100% packet loss, time 37036ms

same thing for trace route
traceroute -n 192.168.0.82
traceroute to 192.168.0.82 (192.168.0.82), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *


Any help?
Thanks in advance


trying to decode a woman mind....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: OpenVPN routing
 
Similar Threads
byte array initialization
something i don't understand in my routing table (simple question)
Can not connect to internet
OpenSuse PPP-OE - Need help
NIC Card Problem