openvpn - urgent help requested!

Timothy Murphy gayleard at eircom.net
Sat Apr 11 09:41:37 UTC 2009


Mike Wright wrote:


>> "route -n" on server and client give:
>> --------------------------------------------
>> Destination     Gateway         Genmask         Flags Metric Ref    Iface
>> 192.168.5.2     0.0.0.0         255.255.255.255 UH    0      0        0 
tun0
>> 192.168.5.0     192.168.5.2     255.255.255.0   UG    0      0        0 
tun0
>> 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 
eth1
>> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 
eth0
>> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 
eth1
>> 0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 
eth0
>> --------------------------------------------
>> Destination     Gateway         Genmask         Flags Metric Ref    Iface
>> 192.168.5.1     192.168.5.5     255.255.255.255 UGH   0      0        0 
tun0
>> 192.168.5.5     0.0.0.0         255.255.255.255 UH    0      0        0 
tun0
>> 192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 
eth1
>> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 
eth1
>> --------------------------------------------

> Apology for being a buttinsky.  I'm also trying to understand vpn.  As I 
> look through "route -n" much of it makes sense but there is something 
> unclear.  Would you disclose the relevant parts of the file "ipp.txt". 
> I have a feeling it may be revealing.

That's a very good question.
I hadn't actually noticed the file ipp.txt on my server.
It had one line:
	mary,192.168.5.4
I've no idea where it got this IP address from.
In any case, I changed it to 192.168.5.6
and restarted openvpn on both machines,
but this did not help.

I notice incidentally that in /var/log/messages on my laptop I have:
Apr 11 09:54:54 mary openvpn[1860]: SENT CONTROL [server]:
	 'PUSH_REQUEST' (status=1)
Apr 11 09:54:55 mary openvpn[1860]: 
	PUSH: Received control message: 
	'PUSH_REPLY,route 192.168.5.1,topology net30,ping 10,
	ping-restart 120,ifconfig 192.168.5.6 192.168.5.5'

This seems to suggest that an openvpn connection was established
between the two machines.
I have no idea what topology net30 means.

Actually, I'm not really sure what advantage openvpn would have,
even if it was working, over ssh, which works fine.
So I'm not that upset by failure,
but would like to know for curiosity's sake what the problem is.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin 





More information about the fedora-list mailing list