From: "PEGAS TOUR - DMITRIY" <dima@pegastour.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] настройка отправки почты по 2м каналам
Date: Tue, 24 May 2005 15:13:00 +0600
Message-ID: <2dc901c56040$c876f5e0$0102a8c0@superserver> (raw)
In-Reply-To: <m3hdgtau3j.fsf@mrkooll.tdr.pibhe.com>
> >> Если роутер и почтовый сервер это одна машина то сделать такое очень
> >> затруднительно.
> > да, именно одна машина. затруднительно, но может все же возможно?
> > сейчас препятствие только в том, что неправильный адрес подставляется
> > в адресе отправителя... хотя nat на postrouting пакетов в это
подключение
> > настроен.
> > где можно порыть в данном направлении?
> > как еще можно подменить адрес пакетов?
>
> Очень затруднительно это значит что я не знаю как такое сделать
> стандартными средствами.
> Просто в твоем случае решение о маршрутизации принимается раньше чем
> сработает iptables и пометит трафик. Поэтому маршрутизация по меткам
> не заработает.
> Надо перечитать LARTC HOWTO. Может и возможно такое сделать.
Маршрутизация по меткам у меня работает(имхо), пакеты приходят на тот
интерфейс который нужно,
но с адресом отправителя дефолтного интерфейса - по дефолтному маршруту.
И я пока не представляю как его там уже поменять... возможно еще nat и в ip
route?...
а не только в iptables
С уважением,
Дмитрий Тютюнников
Системный администратор ООО "Пегас-Тур"
454080, Челябинск, пр. Ленина, 64
тел. +7 3512 689-285, +7 3512 689-284, +7 3512 666-031
E-mail: dima@pegastour.ru
ICQ: 194-508-09
next prev parent reply other threads:[~2005-05-24 9:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-23 13:16 ` Genix
2005-05-24 7:47 ` Maxim Tyurin
2005-05-24 8:04 ` PEGAS TOUR - DMITRIY
2005-05-24 8:47 ` Maxim Tyurin
2005-05-24 9:13 ` PEGAS TOUR - DMITRIY [this message]
2005-05-27 8:18 ` Re[2]: " Dank Bagryantsev
2005-05-24 8:16 ` [Comm] " 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='2dc901c56040$c876f5e0$0102a8c0@superserver' \
--to=dima@pegastour.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