+ Post New Thread
Results 1 to 2 of 2
Mac Thread, hardcode/ force proxy in Technical; hi, I'm not that strong with macs but I have the following task I need to complete. I want to ...
  1. #1

    Join Date
    Oct 2005
    Location
    Bangkok
    Posts
    235
    Thank Post
    15
    Thanked 32 Times in 23 Posts
    Rep Power
    24

    hardcode/ force proxy

    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

  2. #2

    Join Date
    Nov 2006
    Location
    Hove, East Sussex
    Posts
    5
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    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.

  3. Thanks to deps from:

    Jose (4th March 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. [CSS] Force a font
    By Arcath in forum Web Development
    Replies: 5
    Last Post: 5th October 2009, 01:07 PM
  2. Force Proxy Use (Not ISA)
    By karldenton in forum Windows
    Replies: 20
    Last Post: 24th August 2009, 11:52 AM
  3. System Force IT
    By it_badger in forum Bad Experiences
    Replies: 19
    Last Post: 16th October 2007, 03:12 PM
  4. Proxy switch "proxy on" & " proxy off" software
    By GavRob in forum Network and Classroom Management
    Replies: 20
    Last Post: 30th July 2007, 10:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •