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

Reply via email to