Hi all!

My Linux-Router is behind a dsl broadband router. My ISP cuts the line 
every 24h, so i get a new ip-address after each reconnect. But VTUN get 
not rid of this service interruption and that the ip-address has 
changed. After restarting vtund, all works fine. But that have to be 
done every 24 hours, and that is horrible.

I believe, that vtund does not rely to the KEEP-ALIVE settings, that 
done server-side. Client-Side the keepalive-settings are ignored.

> #    keepalive - Enable 'yes' or disable 'no' connection
> #       keep-alive. Ignored by the client.

My settings on client-side:
> neubichl-dsl-backup {
>   passwd        ********;
>   persist       yes;
>   device        vpndslbackup;
>   keepalive     yes;
>
>   srcaddr {
>     addr 192.168.0.2;
>     port 5000;
>   };
>
>   up {
>         ip "link set up %% multicast off mtu 1420";
>         program "/sbin/ifenslave bond0 %%";
>   };
> }

Also Server does not recognize the connection-drop. Just the upperlayer 
(IP) told vtund, that there is "No route to host (113)"

> Aug 14 01:04:54 vtund[3794]: No route to host (113)

Server-Settings:
> default {
>   compress      no;
>   speed         0;
>   encrypt       no;
>   proto         udp;
>   type          ether;
>   keepalive     yes;
>   multi         killold;
> }
>
> neubichl-dsl-backup {
>         device tap107;
>         passwd  ********;
>         up {
>                 ip "link set %% up multicast off mtu 1420";
>                 ip "addr add 172.16.99.1/30 brd + dev %%";
>         };
>         down {
>                 ip "link set %% down";
>         };
> }

So every 24h the client loose the connection to the Server. The Server 
is directly connected to the internet (WAN) and have a public ip-address.

But both sides don`t know that the udp-data-flow is disturbed.

Liebe Grüße aus Freilassing,

Michael Rack
RSM Freilassing
-- 
RSM Freilassing                 Tel.: +49 8654 607110
Nocksteinstr. 13                Fax.: +49 8654 670438
D-83395 Freilassing            www.rsm-freilassing.de


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vtun-Users mailing list
Vtun-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vtun-users

Reply via email to