Article View: pl.comp.os.bsd
Article #767ipfw divert..
From: dyfuzor
Date: Mon, 19 Apr 2004 15:46
Date: Mon, 19 Apr 2004 15:46
29 lines
1708 bytes
1708 bytes
Czesc Nie wiecie dlaczego gdy robie: xl0 - zewn. /sbin/ipfw add 1 divert 8668 ip from any to 62.233.xxx.xxx in recv xl0 /sbin/ipfw add pipe 1031 ip from any to 192.168.1.103 via xl0 in /sbin/ipfw add pipe 1032 ip from 192.168.1.103 to any via xl0 out /sbin/ipfw pipe 1031 config bw $down"Kbit/s" /sbin/ipfw pipe 1032 config bw $up"Kbit/s" /sbin/ipfw add 90401 divert 8668 ip from 192.168.0.0/16 to any out xmit xl0 Nie moge pingowac z routera? ~# ping 212.182.97.122 --- 212.182.97.122 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss uzywam ipnat map xl0 192.168.0.0/16 -> 62.233.xx.xxx/32 # sysctl -a |grep pass net.inet.ip.fw.one_pass: 1 ipfw show 02301 178 21278 pipe 1031 ip from any to 192.168.1.103 in recv xl0 02401 45 2675 pipe 1032 ip from 192.168.1.103 to any out xmit xl0
Technical Details
Message-ID:
<c60s7s$sf1$1@opal.futuro.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!newsfeed.wirehub.nl!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!opal.futuro.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!newsfeed.wirehub.nl!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!opal.futuro.pl!not-for-mail From: "dyfuzor" <dyf...@wp.pl> Newsgroups: pl.comp.os.bsd Subject: ipfw divert.. Date: Mon, 19 Apr 2004 17:46:18 +0200 Organization: Pro Futuro Lines: 32 Message-ID: <c60s7s$sf1$1@opal.futuro.pl> NNTP-Posting-Host: 62.233.188.96 X-Trace: opal.futuro.pl 1082389564 29153 62.233.188.96 (19 Apr 2004 15:46:04 GMT) X-Complaints-To: use...@futuro.pl NNTP-Posting-Date: Mon, 19 Apr 2004 15:46:04 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit