🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Natd

#45385
From: Lechu
Date: Thu, 24 Apr 2003 08:28
34 lines
2268 bytes
Użytkownik "Konrad Rzadzinski" <k.rzadzinski@amba.matrix.pl> napisał w
wiadomości news:slrnbae39k.2c6e.k.rzadzinski@vpn-bema.matrix.pl...
> Dnia Wed, 23 Apr 2003 21:58:35 +0200, Lechu <lechu_b@poczta.fm> tako
rzekł:
> :> podaj pelna konfiguracje to postaram sie pomoc...
>
> Gwoli precyzji - 'postaramy'.
>
> : 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"
>
> Jeden z tych zewn_ip[1-4] winien mieć 'normalną' maskę. (o ile 'zewn' !=
> 172.16.255.252/30)

Adres 172.16.255.254 jest do połaczenia z routerem. Co oznacza normalna
maska dla ip zewn ? Jak dam np 255.255.255.252 to z czterech adresow zrobia
sie dwa (koncowka od 120 do 123). Kazda inna wychodzi poza zakres. Ale moze
tak sie robi, nie wiem.

> : natd_program="/sbin/natd"
> : natd_enable="YES"
> : natd_interface="zewn_ip1"
> : natd_flags="-redirect_port tcp 192.168.1.50:80 80"
>
> A jak wygląda natd.conf?

Tego pliku nie mam
Pozdr.
Lechu.
Technical Details
Message-ID: <b88b40$duu$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.gazeta.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> <b86upp$mgf$1@nemesis.news.tpi.pl> <slrnbae39k.2c6e.k.rzadzinski@vpn-bema.matrix.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.gazeta.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: Thu, 24 Apr 2003 10:28:08 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 38
Message-ID: <b88b40$duu$1@atlantis.news.tpi.pl>
References: <b777ue$am8$1@atlantis.news.tpi.pl> <b7v0f5$435$1@news.polbox.pl> <b86upp$mgf$1@nemesis.news.tpi.pl> <slrnbae39k.2c6e.k.rzadzinski@vpn-bema.matrix.pl>
NNTP-Posting-Host: wawhsb-201.dial.plusgsm.pl
X-Trace: atlantis.news.tpi.pl 1051176898 14302 212.2.99.201 (24 Apr 2003 09:34:58 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Thu, 24 Apr 2003 09:34:58 +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