From: "Nikolay A. Fetisov" <naf@naf.net.ru> To: community@lists.altlinux.org Subject: Re: [Comm] Маршрутизация или НАТ Date: Tue, 26 Feb 2008 13:13:17 +0300 Message-ID: <20080226131317.01b7cd29@v3405.naf.net.ru> (raw) In-Reply-To: <47C3DD1B.8000901@rambler.ru> On Tue, 26 Feb 2008 11:34:19 +0200 Денис Ягофаров wrote: > Возникли трудности с маршрутизацией...В OVZ-контейнере > указан основной шлюз и сказано форвардить пакеты. Там поднят > openVPN в режиме tun. При этом на клиентской машине объявляю > его шлюзом для сети 192.168.10.0/24. Хосты этой сети из самого > контейнера отлично пингуются. А с клиентской машины - нет. > > Вот схемка: > > Клиент <--> |tun0 vpn-server veth1| <--> | router | <--> 192.168.10.0/24 > ^ ^ ^ > не пингуентся пингуется пингуется > В VE используется именно VETH, не VENET? На HN (router) маршрут на 10.8.0.0/24 через VE (veth1) прописан? > .... > Может, я чего-то упустил и не донастроил? > Или лучше использовать НАТ? Тоже вариант. Который, кстати, будет работать и с VENET. Правила для NAT нужно прописывать в VE. -- С уважением, Николай Фетисов
next prev parent reply other threads:[~2008-02-26 10:13 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-26 9:34 Денис Ягофаров 2008-02-26 10:13 ` Nikolay A. Fetisov [this message] 2008-02-26 11:43 ` Денис Ягофаров 2008-02-26 19:43 ` Michael Shigorin
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=20080226131317.01b7cd29@v3405.naf.net.ru \ --to=naf@naf.net.ru \ --cc=community@lists.altlinux.org \ /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