[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenVPN fails to connect w/SuSE 10


  • Subject: Re: [Openvpn-users] OpenVPN fails to connect w/SuSE 10
  • From: Sebastian Wild <sw@xxxxxxxxxx>
  • Date: Mon, 07 Nov 2005 18:58:58 +0100

hmm
I never started openvpn the way you do.
I just use this commandline:

openvpn /etc/client.conf

where /etc/client.conf is my vpn client config file
my openvpn is set to connect to vpn server using ssl certificate for authentication and uses /dev/tun0 as networking device.


cheers
Sebastian

Will Schroeder wrote:
Since I never had any problems before I never paid attention to routing
table or ifconfig output so I haven't clue whats right or wrong. The
output iss attached below. The firewall is disabled at boot but I ran the stop script anyway.
It will not connect- something is wrong with the network setup- I wish I
knew what is different???!!!


mummer:~/openvpn-2.0.5/sample-scripts # ./bridge-start
Mon Nov  7 11:11:18 2005 TUN/TAP device tap0 opened
Mon Nov  7 11:11:18 2005 Persist state set to: ON
mummer:~/openvpn-2.0.5/sample-scripts # ifconfig -a
br0       Link encap:Ethernet  HWaddr 00:06:5B:8A:B0:C5
          inet addr:10.31.0.155  Bcast:10.31.0.255  Mask:255.255.255.0
          inet6 addr: fe80::206:5bff:fe8a:b0c5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:986 (986.0 b)

eth0      Link encap:Ethernet  HWaddr 00:06:5B:8A:B0:C5
          inet6 addr: fe80::206:5bff:fe8a:b0c5/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:17258 errors:0 dropped:0 overruns:1 frame:0
          TX packets:2440 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2896744 (2.7 Mb)  TX bytes:262776 (256.6 Kb)
          Interrupt:11 Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:02:2D:7C:EE:9D
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0xa080

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4708 (4.5 Kb)  TX bytes:4708 (4.5 Kb)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tap0      Link encap:Ethernet  HWaddr 96:5F:CF:87:AE:C2
          inet6 addr: fe80::945f:cfff:fe87:aec2/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

mummer:~/openvpn-2.0.5/sample-scripts # netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
10.31.0.0       0.0.0.0         255.255.255.0   U         0 0          0
br0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0
lo

On Mon, 2005-11-07 at 17:39 +0100, Sebastian Wild wrote:
hmm I installed my new box with SuSE 10.0 too (and also my lap) and "recycled" my existing ssl keys for the vpn. It works fine on both boxes.
The error you posted points to the fact that the openvpn client is unable to connect the vpnserver.
I would suppose this being due to either some network config issue (post your ifconfig output and routing table) or even the SuSE Firewall2 blocking the vpn out.
Try to shut the firewall down with "rcSuSEfirewall2 stop" and try to fire up openvpn again to see if it works without the firewall running!


cheers
Sebastian


Will Schroeder wrote:
This weekend I did a fresh install of SuSE 10 on my laptop. After the
install I configured 2.0.5 and I can not connect to the VPN anymore. The
error I am getting is pasted below.
OpenVPN was working on SuSE 9.2.....
Has any one else had this problem? The error implies that I do not have
netowrking after I run the bridge-start script. This is a bugger because
it was working well before I changed Linux versions...

Mon Nov  7 09:41:21 2005 us=230737 TCP: connect to xx.xx.xxx.xx:port
failed, will try again in 5 seconds: Network is unreachable (errno=101)




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users