🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.freebsd
Article #45383

Re: Natd

#45383
From: Lechu
Date: Wed, 23 Apr 2003 19:58
40 lines
2278 bytes
Użytkownik "MK" <marcinkk@poczta.onet.pl> napisał w wiadomości
news:b7v0f5$435$1@news.polbox.pl...
> Lechu wrote:
> > Mam problem z natem. Mam 4 adresy od tepsy, aliasuje je na interfejs
> > zewnetrzny i robie nata na jednym adresie.
> > Pozostale chcialem przekierowac na hosty w sieci lokalnej
> > (-redirect_address local ip public ip). No inic z tego.
> > Wtedy sypie sie calosc.
> > Moze ma ktos jakis pomysl ?
>
> to dziala, calkiem dobrze (u mnie), to co moge doradzic to nie rob aliasow
a do
> przypisania innych numerow ip do interfejsu zewnetrznego - wystarczy
"arp -pub"
>
> podaj pelna konfiguracje to postaram sie pomoc...
>
> MK
>
W rc.conf mam
ifconfig_ep0="inet 172.16.255.254 netmask 255.255.255.252"
ifconfig_ep0_alias0="inet zewn_ip1 netmask 255.255.255.255"
ifconfig_ep0_alias1="inet zewn_ip2 netmask 255.255.255.255"
ifconfig_ep0_alias2="inet zewn_ip3 netmask 255.255.255.255"
ifconfig_ep0_alias3="inet zewn_ip4 netmask 255.255.255.255"
natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="zewn_ip1"
natd_flags="-redirect_port tcp 192.168.1.50:80 80"

i niestety to nie chodzi.
Wczesniej probowalem jeszcze
natd_flags="-redirect_address 192.168.1.50 zewn_ip2"
ale niestety tez nic.

W tej chwili nat chodzi na pojedynczym adresie a pozostale daja sie tylko
pingowac.
Pozdr.
Lechu
Technical Details
Message-ID: <b86upp$mgf$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <b777ue$am8$1@atlantis.news.tpi.pl> <b7v0f5$435$1@news.polbox.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Lechu" <lechu_b@poczta.fm>
Newsgroups: pl.comp.os.freebsd
Subject: Re: Natd
Date: Wed, 23 Apr 2003 21:58:35 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 44
Message-ID: <b86upp$mgf$1@nemesis.news.tpi.pl>
References: <b777ue$am8$1@atlantis.news.tpi.pl> <b7v0f5$435$1@news.polbox.pl>
NNTP-Posting-Host: wawhsb-211.dial.plusgsm.pl
X-Trace: nemesis.news.tpi.pl 1051131515 23055 212.2.99.211 (23 Apr 2003 20:58:35 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 23 Apr 2003 20:58:35 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit