I am unable to get a vtun connection between two machines, and hope that
someone can help unravel the problem.
We have an existing vtun server running vtun 2.6, set up a few years ago
by a person who left before I started working here. There are a bunch of
existing vtun connections coming into the server so that is working. The
clients are using vtun 2.5 and 2.6.
I'm trying to set up a tunnel from a from a new machine. The new machine
is running vtun 2.5, but I'm not able to create a working tunnel.
Here is the server configuration:
options {
port 3978; # Listen on this port.
syslog daemon;
ppp /usr/sbin/pppd;
ifconfig /sbin/ifconfig;
route /sbin/route;
firewall /sbin/iptables;
ip /sbin/ip;
}
default {
compress no; # Compression is off by default
speed 0; # By default maximum speed, NO shaping
}
client-server {
passwd MyPassword; # Password
type tun; # IP tunnel
proto tcp; # TCP protocol
compress no; # Compression
encrypt no; # Encryption
keepalive yes; # Keep connection alive
up {
ifconfig "%% server pointopoint client mtu 1450";
};
}
Here is the client configuration:
options {
port 3978;
timeout 60;
ppp /usr/sbin/pppd;
ifconfig /sbin/ifconfig;
route /sbin/route;
firewall /sbin/iptables;
ip /usr/sbin/ip;
}
client-server {
passwd MyPassword; # Password
type tun; # IP tunnel
device tun0; # Device to use
proto tcp; # TCP protocol
compress no; # Compression
encrypt no; # Encryption
persist keep; # Persistence
up {
ifconfig "%% client pointopoint server mtu 1450";
};
}
The log files don't show much:
server:
Jul 1 16:54:55 server vtund[17151]: Session server[client:32768] opened
Jul 1 16:54:55 server vtund[17151]: Connection reset by peer (104)
Jul 1 16:54:55 server vtund[17151]: Session client-server closed
client:
Jul 1 16:54:54 client vtund[30891]: VTun client ver 2.5 01/23/2002 started
Jul 1 16:54:54 client vtund[30891]: Connecting to server
Jul 1 16:54:54 client vtund[30891]: Session client-server[server] opened
Jul 1 16:54:55 client vtund[30891]: Session client-server[server] closed
Jul 1 16:54:55 client vtund[30891]: Exit
I've also tried using UDP instead of TCP, but to no avail.
Can anyone suggest something else to try in order to get this working?
Thanks in advance,
Carl
--
Carl G. Riches
Software Engineer
Department of Biostatistics
Box 357232 voice: 206-616-2725
University of Washington fax: 206-543-3286
Seattle, WA 98195-7232 internet: [EMAIL PROTECTED]
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Vtun-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vtun-users