Christof Warlich
2012-02-19 11:26:54 UTC
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";
};
}
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";
};
}