Hi! On Server-Side add this option to the default section:
multi killold; VTUN can only handle one connection to each host-profile. When the connection does not disconnect properly (connection loose), the vtun server does not close the connection and thinks, the client is still connected. With "multi" you can tell VTUN to destroy the current session and create a new one when a client is requesting for some one. 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 Am 19.02.2012 12:26, schrieb Christof Warlich: > Hi, > > I've set up vtun on a UMTS dialup connection to be able to connect to my > mobile device being behind the carrier's NAT router. Everything works > fine after system startup, but when the connection terminates > temporarily, the tunnel doesn't work any more after connection > reestablishment. It looks like vtun doesn't notice neither the > connection shutdown nor its reestablishment. > > Below is my configuration on both sides. Can anyone spot what I may do > wrong? > > Thanks for help, > > Chris > > #Client: > options { > port 5000; > ifconfig /sbin/ifconfig; > route /sbin/route; > } > > default { > compress no; > speed 0; > } > > fritz { > passwd mypassword; > type tun; > timeout 60; > keepalive yes; > proto tcp; > persist yes; > up { > ifconfig "%% 10.0.0.2 netmask 255.255.255.0 up"; > route "add 10.0.0.1 dev %%"; > }; > down { > ifconfig "%% down"; > }; > } > > #Server: > options { > port 5000; > ifconfig /sbin/ifconfig; > route /sbin/route; > } > > default { > compress no; > speed 0; > } > > fritz { > passwd mypassword; > type tun; > timeout 60; > keepalive yes; > proto tcp; > persist yes; > up { > ifconfig "%% 10.0.0.1 netmask 255.255.255.0 up"; > route "add 10.0.0.2 dev %%"; > }; > down { > ifconfig "%% down"; > }; > } > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Vtun-Users mailing list > Vtun-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vtun-users ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Vtun-Users mailing list Vtun-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vtun-users