🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

dummynet i nat

#45282
From: Marcin Kossowski
Date: Thu, 10 Apr 2003 00:00
19 lines
1531 bytes
${cmd} add 200 pipe 1 ip from any to not 192.168.1.9 via tun0 out
${cmd} pipe 1 config bw 2Kbytes/s

${cmd} add 300 divert natd all from any to any via ${oif}

${cmd} add 400 pipe 2 ip from any to not 192.168.1.9 via tun0 in
${cmd} pipe 2 config bw 5Kbytes/s

czemu klient 192.168.1.9 nie ma netu? gdzie musze dac rurke z out zeby ruch
wychadzacy dzialal dobrze?
bo kce ograniczyc ruch wychadzacy
dodanie regulki 200 blokuje mu net calkiem, zamista ograniczac do 2kilo

regulka 400 potestowana dziala dobrze
uzywam natd w rc.conf natd_flags="-s -m"

probowalem tez cos rzezbic z recv, xmit ale nic nie dalo

dziekuje z gory na odpowiedz
Technical Details
Message-ID: <b72cai$1va$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.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

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: "Marcin Kossowski" <koso@o2.pl>
Newsgroups: pl.comp.os.freebsd
Subject: dummynet i nat
Date: Thu, 10 Apr 2003 02:00:59 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 21
Message-ID: <b72cai$1va$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: pc161.olawa.sdi.tpnet.pl
X-Trace: nemesis.news.tpi.pl 1049932947 2026 213.77.157.161 (10 Apr 2003 00:02:27 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Thu, 10 Apr 2003 00:02:27 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit