ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Владимир <fmfm@symmetron.msk.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ipfw redirect_port
Date: Mon, 30 Sep 2002 11:45:02 +0400
Message-ID: <3D9800FE.3060106@symmetron.msk.ru> (raw)
In-Reply-To: <02093011232908.03576@fileserver.masterlist.ru>

Anton пишет:

>>>
>>>сейчас есть редирект со шлюза на внутренний веб сервер
>>>natd -c /etc/natd.conf -n rl0 (FreeBSD)
>>>redirect_port 192.168.0.2 80 80
>>>DNS настроен адрес домена=внешнему адресу
>>>если обращаются из интернета то все красиво
>>>http://www.park-net.ru все показывается
>>>если из локалки то никакого редиректа не происходит (естественно)
>>>как сделать что бы из локальные пользователи по доступу к www.park-net.ru
>>>попадали на 192.168.0.2 а внешние естественно на шлюз и с него редиректом
>>>на внутренний веб сервер
>>>      
>>>
>>А здесь разве обсуждаются настройки FreeBSD?
>>    
>>
>какая разница? ведь так сказать принципиальных отличий в вопросе форвардинга 
>и редиректа нет а про фибсд уточнил что бы у не сведующих не возникало 
>вопроса что за интерфейс rl0
>  
>
>>На iptables под Linux это решается через двойной NAT.
>>1. SNAT на web сервер
>>2. DNAT на внутренний ip шлюза.
>>    
>>
>можно поподробнее
>или man?
>
>  
>
Если не ошибаюсь, в NAT-HOWTO про это есть целая глава.
http://www.netfilter.org/documentation/

-- 
Best regards
Vladimir





      reply	other threads:[~2002-09-30  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30  6:41 Anton
2002-09-30  7:11 ` Владимир
2002-09-30  7:23   ` Anton
2002-09-30  7:45     ` Владимир [this message]

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=3D9800FE.3060106@symmetron.msk.ru \
    --to=fmfm@symmetron.msk.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