From: "Roman V. Tutov" <tutov@aston.ru>
To: Community@altlinux.ru
Subject: [Comm] нестабильный vtund
Date: Wed, 25 May 2005 17:34:49 +0400
Message-ID: <112114497703.20050525173449@aston.ru> (raw)
Здравствуйте, Community.
2 подсети связаны через vtund . При стабильном канале
соединение через vtund очень нестабильное .
Ниже приведен конфиг сервера и клиента . Посмотрите ,пожалуйста ,что
может быть не так . Ибо в инете я внятного ничего не нашел ...
сервер__________________________________________________________________
options {
port 5000; # Listen on this port.
type stand;
# Syslog facility
syslog daemon;
# Path to various programs
ppp /usr/sbin/pppd;
ifconfig /sbin/ifconfig;
route /sbin/route;
firewall /sbin/ipchains;
ip /sbin/ip;
}
# Default session options
default {
compress zlib:9; # Compression is off by default
encrypt yes;
speed 256; # By default maximum speed, NO shaping
}
###################################################################################
mv {
passwd bla-bla-bla; # Password
compress zlib:9; # ZLIB compression level 9
encrypt yes; # Encryption
up {
# Connection is Up (established)
# Assign IP addresses 10.0.0.1 - local, 10.0.0.2 - remote
ppp "10.0.0.1:10.0.0.2 proxyarp";
route "add -net 192.168.30.0 netmask 255.255.255.0 gw 10.0.0.2";
};
down {
route "delete -net 192.168.30.0 netmask 255.255.255.0 gw 10.0.0.2";
};
}
________________________конец конфига сервера ...дальше клиент__
options {
port 5000; # Connect to this port.
timeout 60; # General timeout
# Path to various programs
ppp /usr/sbin/pppd;
ifconfig /sbin/ifconfig;
route /sbin/route;
firewall /sbin/ipchains;
ip /sbin/ip;
}
mv {
passwd bla-bla-bla;# Password
speed 8; #Ограничение скорости канала
persyst yes;
up {
# Connection is Up
# IP address will be assigned by the server
ppp "noipdefault";
route "add -net 192.168.10.0 netmask 255.255.255.0 gw 10.0.0.2";
};
down {
route "delete -net 192.168.10.0 netmask 255.255.255.0 gw 10.0.0.2";
};
}
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
next reply other threads:[~2005-05-25 13:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 13:34 Roman V. Tutov [this message]
2005-05-26 5:34 ` Alex
2005-05-26 5:39 ` Re[2]: " Roman V. Tutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=112114497703.20050525173449@aston.ru \
--to=tutov@aston.ru \
--cc=Community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git