Jose Posted March 3, 2010 Posted March 3, 2010 hi, I'm not that strong with macs but I have the following task I need to complete. I want to stop our macs comunicating directly with our default gateway or upstream proxy. Messing with the gateway itself is out of the question unfortunately. Can anyone advide how to block any communuication with 172.16.1.254 using iptables or the mac version of iptables. Thanks
deps Posted March 4, 2010 Posted March 4, 2010 Hi. Go into terminal and type: sudo ipfw list This will show the current firewall settings. It will probably read: 65535 allow ip from any to any Then type: sudo ipfw deny ip from YOUR_IP to 172.16.1.254 That should do it. Type 'sudo ipfw list' again to check. If it doesn't work, Type 'sudo allow ip from any to any' again to put it back. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now