🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #20449

Re: KAD + pf

#20449
From: 8macius7
Date: Mon, 15 Sep 2008 19:08
50 lines
3048 bytes
On 15 Wrz, 18:15, 8maci...@gmail.com wrote:
> Witam
>
> Próbuję zmieńić status Kada w Emule z Firewalled, ale na razie nie
> udaje mi się to póki co.
> Komputer z emulem jest za natem w pfie na openbsd. Moje reguły:
>
> Porty przekierowywane na komputer w sieci lokalnej to: 4964 udp i tcp
>
> nat on $EXT proto tcp from 192.168.0.61 port 4964 -> ip_zew port 4964
> nat on $EXT proto udp from 192.168.0.61 port 4964 -> ip_zew port 4964
> nat on $EXT from $lan_net to any -> ip_zew
>
> rdr log on $EXT inet proto tcp to ip_zew port 4964 tag rdrt \
>     -> 192.168.0.61 port 4964
> rdr log on $EXT inet proto udp to ip_zew port 4964 tag rdru \
>     -> 192.168.0.61 port 4964
>
> pass in quick log on $EXT inet proto tcp \
>              tagged rdrt queue (user_upload ack_ext)
> pass in quick log on $EXT inet proto udp \
>              tagged rdru queue (user_upload ack_ext)
>
> pass out quick log on $LAN inet proto tcp \
>              tagged rdrt queue (user_download ack_lan)
> pass out quick log on $LAN inet proto udp \
>              tagged rdru queue (user_download ack_lan)
>
> pass in quick on $LAN \
>         inet proto udp from 192.168.0.61 to !$LAN \
>             keep state (if-bound) queue (userRadio_download) \
>                 tag userRadio_resztaudp
>
> pass out quick on $EXT \
>         inet proto udp all \
>             tagged user_resztaudp keep state (if-bound)\
>                 queue user_upload
>
> Pozdrawiam :)

Sytuacja wyglada tak:

do nata dodalem jeszcze static-port zeby nie zamienial portow

W Emule jest opcja sprawdzania portow czy są one otwarte, i o dziwo
raz sa otwarte, czasami obydwa nie dzialaja a czasami udp.
Co moze byc przyczyna tak nie stabilnego dzialania ? Na razie wydaje
mi sie ze to moze niski upload z tepsy...

Pozdrawiam
Technical Details
Message-ID: <b9ab314b-67df-4bc5-9e98-c5a2cd942148@79g2000hsk.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newshub.sdsu.edu!postnews.google.com!79g2000hsk.googlegroups.com!not-for-mail
References: <d0bbd0a4-d121-48a8-9f48-89832aef0ac1@79g2000hsk.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newshub.sdsu.edu!postnews.google.com!79g2000hsk.googlegroups.com!not-for-mail
From: 8macius7@gmail.com
Newsgroups: pl.comp.os.bsd
Subject: Re: KAD + pf
Date: Mon, 15 Sep 2008 12:08:51 -0700 (PDT)
Organization: http://groups.google.com
Lines: 52
Message-ID: <b9ab314b-67df-4bc5-9e98-c5a2cd942148@79g2000hsk.googlegroups.com>
References: <d0bbd0a4-d121-48a8-9f48-89832aef0ac1@79g2000hsk.googlegroups.com>
NNTP-Posting-Host: 78.133.194.222
Mime-Version: 1.0
X-Trace: posting.google.com 1221505731 22511 127.0.0.1 (15 Sep 2008 19:08:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 15 Sep 2008 19:08:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 79g2000hsk.googlegroups.com; posting-host=78.133.194.222;  posting-account=CJvFSAoAAADOkhKJih-RNF1B4rUf5yDv
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.1)  Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit