From: Kolya Grechukh <ngrechukh@ua.fm> To: community@altlinux.ru Subject: Re: [Comm] vpn Date: Fri, 26 Dec 2003 13:05:20 +0200 Message-ID: <200312261305.20663.ngrechukh@ua.fm> (raw) In-Reply-To: <20031226102001.GB11117@mrkooll.tdr.pibhe.com> network1 network2 192.168.1.0/24 192.168.2.0/24 ws1 -----\ eth1 eth1 /-----ws2 ws2 ------|----- host1 ----| inet |---- host2 ---|------ws1 ws3 -----/ \-----ws3 host1 и host2 в локалку смотрят eth0, наружу eth1. работают роутерами для локалки в интернет. хост с хостом изначально связаны открытым каналом (интерфейсы eth1). eth1 имеет реальный адрес, пинги ходят. две локалки друг друга не вилят ибо серые. через открытый канал мы устанавливаем ssh-соединение и запускаем через ssh pppd. в итоге на связываемых хостах появляется интерефейс ppp0 который они связаны (якобы) напрямую. ведь pppd все равно на чем работать, в данном случае - на виртуальном терминале. ----------------------------------------------------------------------------- network1 network2 192.168.1.0/24 192.168.2.0/24 ws1 -----\ /-----ws2 ws2 ------|---- host1 ----ppp---- host2 ----|------ws1 ws3 -----/ | | \-----ws3 eth1 eth1 \ / \ / ---------------------- INTERNET ----------------------------------------------------------------------------- криптованый? криптованый. имеем два хоста связанных, теперь настраиваем роутинг eth0<->ppp0. eth1 остаются не при делах, берем и закрываем все порты кроме ssh (или оставляем :-). да, конечно, это обе машины - линуксы, к ним я имею доступ и админские права в системе. но в моем случае для быстрого связывания удаленного филиала с центральным офисом - подойдет? чем это плохо и чего еще я не учел? p.s. а для freeswan предлагают ядро компилировать. -------- Nick S. Grechukh kolyag@mail.ru Refractory Trading House, network administrator.
next prev parent reply other threads:[~2003-12-26 11:05 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-25 9:21 Kolya Grechukh 2003-12-25 9:24 ` Kolya Grechukh 2003-12-25 11:49 ` Maxim Tyurin 2003-12-25 12:20 ` Kolya Grechukh 2003-12-25 15:11 ` Maxim Tyurin 2003-12-26 9:36 ` Kolya Grechukh 2003-12-26 10:20 ` Maxim Tyurin 2003-12-26 11:05 ` Kolya Grechukh [this message] 2003-12-26 15:17 ` Maxim Tyurin
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=200312261305.20663.ngrechukh@ua.fm \ --to=ngrechukh@ua.fm \ --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