|
|
Update
I tried the "lo0" option but it didn't work for me. The ipfw that ships with OS X maybe doesn't support it (I know other *BSDs do)? I saw no mention of "lo0" in the ipfw man file either.
I found some connection problems with Napster. The way to fix this (other than "lo0") so it's blocking specifically what's coming from your local computer to your local computer (and solves these kind of conflicts) is below. "127.0.0.1" and "localhost" don't work, so don't try it. File /etc/ppp/ip-up which is: #!/bin/sh myip=$(/sbin/ifconfig ppp0 | grep inet | cut -d" " -f2) /sbin/ipfw add 10000 deny tcp from $myip 49000-50000 to $myip 3000-4000 out via ppp0 File /etc/ppp/ip-down which is: #!/bin/sh /sbin/ipfw delete 10000 Make them as user root and don't forget to chmod a+x ip* To see what's going in and out use this as user root: tcpdump -l -q This works great, would like to know anyone that has problems. Dynamic IPs are a pain in the a$$, huh? --Paul
Rule Number?
How do I know what rule number to use?
Rule Number?
After any custom rules and before the "65535 allow ip from any to any" |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|