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

Re: [Openvpn-users] New problem with openvpn (formerly up-script problem).


  • Subject: Re: [Openvpn-users] New problem with openvpn (formerly up-script problem).
  • From: Doug Lytle <support@xxxxxxxxxx>
  • Date: Sun, 05 Dec 2004 11:40:05 -0500

Richard,

The tun0 will be removed because the script failed. I usually have my route script fails because 1 or more of the routes trying to be set, actually already exists. Usually when I'm testing, forgot I've already set 1 or more routes manually, and forget to do a route -del on them. Check your routes and make sure they don't already exist.

Also, as a debugging possibility, don't set any routes until the tunnel is up and manually set them one at a time and see if you have a failure.

Doug

Tibbs, Richard wrote:

Dear list.
I tried the following command line
/sbin/ip link set mtu 1500 dev tun0

Problem is, there is no device tun0 even though daemon.log says
Dec  4 21:55:38 firewall openvpn[9273]: MTU DYNAMIC mtu=1450, flags=2,
1576 -> 1450
Dec  4 21:55:38 firewall openvpn[9273]: TUN/TAP device tun0 opened
Dec  4 21:55:38 firewall openvpn[9273]: ip link set dev tun0 up mtu 1500
Dec  4 21:55:39 firewall openvpn[9273]: ip addr add dev tun0 local
10.1.1.1 peer 10.1.1.2
Dec  4 21:55:39 firewall openvpn[9273]: /etc/openvpn/openvpn.up tun0
1500 1576 10.1.1.1 10.1.1.2 init
Dec  4 21:55:39 firewall openvpn[9273]: script failed: shell command
exited with error status: 1






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
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