🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: KAD + pf

#20450
From: Tomasz Sowa
Date: Wed, 17 Sep 2008 10:18
21 lines
1522 bytes
Dnia Mon, 15 Sep 2008 09:15:24 -0700 (PDT), 8macius7@gmail.com napisał(a):

> 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:
[...]

nat:
nat on $EXT from $lan_net to any -> $EXT

przekierowanie dla muła:
rdr pass on $EXT inet proto {tcp, udp} from any to $EXT port 4964 -> 192.168.0.61 port 4964

i zezwolenie na wyjście pakietu od serwera do sieci lokalnej:
pass out quick on $INT inet proto {tcp, udp} from any to 192.168.0.61 port 4964 flags S/SA keep state (if-bound)

i upewnij się że:
sysctl net.inet.ip.forwarding jest równe 1

-- 
Tomek
Technical Details
Message-ID: <179shtau68b0$.dlg@torpi.slimaczek.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!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!news.gazeta.pl!not-for-mail
From: Tomasz Sowa <tomcio@slimaczek.BEZSPAMOWY.pl>
Newsgroups: pl.comp.os.bsd
Subject: Re: KAD + pf
Date: Wed, 17 Sep 2008 12:18:52 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 21
Message-ID: <179shtau68b0$.dlg@torpi.slimaczek.pl>
References: <d0bbd0a4-d121-48a8-9f48-89832aef0ac1@79g2000hsk.googlegroups.com>
Reply-To: tomcio@slimaczek.BEZSPAMOWY.pl
NNTP-Posting-Host: dynamic-87-105-8-90.ssp.dialog.net.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1221646739 1442 87.105.8.90 (17 Sep 2008 10:18:59 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Wed, 17 Sep 2008 10:18:59 +0000 (UTC)
X-User: chlopaczek25
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit