ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Q: IPsec + NAT (или NAT + IPsec)
Date: Tue, 8 Aug 2006 13:01:32 +0400
Message-ID: <20060808090132.GE31853@immo.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

Есть примерно такая конфигурация:

10.20.30.40/32 - 1.2.3.4 -(...)- 4.3.2.1 - 4.3.2.10/32

1.2.3.4 и 4.3.2.1 - IPsec шлюзы, 10.20.30.40/32 и 4.3.2.10/32 -
связываемые хосты.

Левая сторона хочет использовать адрес 10.20.30.40/32, праваа
против этого возражает.  Есть свободный адрес 1.2.3.40, можно на
него как-то NAT'ить?  Слева используется OpenS/WAN.

Основная проблема - затащить пакет от 10.20.30.40 к 4.3.2.10 в
ipsec0.  Если тупо зароутить (ip rule, ip route) 4.3.2.10 через
ipsec0 и на нём сделать SNAT (в POSTROUTING) - freeswan подберёт
этот пакет?

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-08-08  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08  9:01 Alexey I. Froloff [this message]
2006-09-12  8:15 ` Alexey I. Froloff

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=20060808090132.GE31853@immo.ru \
    --to=raorn@immo.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git