Create Tor anonymising middlebox osx

Hello,
i would like to create an tor anonymising middlebox (mac mini running mavericks and internet-sharing enabled). I don't know if this is the correct way to do it, so i hope you guys can give me some helpfull advise here. The goal is to redirect all external traffic trhough tor. Even https, imap and other connection types not just http request on port 80. This should be done for every device on the network (even ios devices), without to configure them sepreately. thats why i'm using the transparent proxy setup later on.
here is what i did:
i installed tor with brew and configured it with the following options
NATDPort 9040
NATDListenAddress 127.0.0.1
DNSPort 9053
DNSListenAddress 127.0.0.1
im using NATDPort because i could not get the TransPort Option to work. Tor tells me that Transport and TransListenAddress is not available in my Build. I have no idea how to compile tor on osx and getting these two options to work. The tor manual says that NATDPort is for systems that could not use Transport.
To redirect all external traffic through tor i use the following pf anchor. I found it on the tor wiki. It required to create a second loopback device, which i could not do either, so i tried to use the bridge100 device which was created by the internet-sharing option on Mavericks instead.
# destinations you don't want routed through Tor
non_tor = "{ 192.168.1.0/24 192.168.2.0/24 }"
# Tor's TransPort
trans_port = "9040"
#dns
rdr pass on bridge100 inet proto udp to 192.168.2.1 port domain -> 127.0.0.1 port 54
#http
rdr pass on bridge100 inet proto udp to 192.168.2.1 port http -> 127.0.0.1 port 3131
rdr pass on bridge100 inet proto tcp all -> 127.0.0.1 port $trans_port
#rdr pass on bridge100 inet proto udp to port domain -> 127.0.0.1 port domain
block return out
pass out quick on lo0 route-to bridge100 inet proto tcp to 127.192.0.0/10 flags S/SA modulate state
pass quick on { lo0 bridge100 } keep state
# uncomment the following line if you need to be able to connect to this system
# from elsewhere on your $non_tor subnet
#pass in proto tcp from $non_tor to $non_tor port { 22, 25, 80, 110 } flags S/SA keep state
pass in proto tcp from $non_tor to $non_tor flags S/SA keep state
pass out quick inet proto tcp user rene flags S/SA modulate state
pass out quick route-to bridge100 inet proto udp to port domain keep state
pass out quick inet to $non_tor keep state
pass out route-to bridge100 inet proto tcp all flags S/SA modulate state
i'm using pdnsd to cache dns queries, thats why im redirecting all port 53 requests to the localhost on port 54. Also i redirect port 80 requests to my transparent privoxy proxy on port 3131 of localhost. privoxy uses polipo to access tor at 127.0.0.1 port 9050 again. This is against unwanted cookies and trackers.
i'm not familiar with pf. The rules get loaded, properly, and i can see that there are requests sent to 127.0.0.1 port 9040. the dns queries do work, i can resolve hostnames through tor, but somehow i cannot establish any connection with that pf-anchor in combination with the NATDPort setting of tor. When i try to surf the web (just http not even https) i get a white page with just a body tag and no content.
i know this can be done with linux, but i don't want to change the os just for that.
I hope that anyone is able to help me here, until then i have to use the only-redirect-port-80 option
Happy Holidays and a Happy new Year!

If you have more than one user account, these instructions must be carried out as an administrator.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time after  you had the problem. Select the messages logged before the boot, while the system was unresponsive or was failing to shut down. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V). Please include the BOOT_TIME message at the end of the log extract.
If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

Similar Messages

  • Creating a NetInstall image OSX 10.6 with 10.6.2 combo update package

    Has anyone been successful creating a NetInstall image of OSX 10.6 with 10.6.2 combo update package included. Every time I attempt to do it, the image creation fails.

    I second that.
    You even have advanced group handling to determin which users should be allowed to perform which tasks.
    You can even image and restore Windows (both bootcamp on a mac AND pure PC:s)
    If you have a pure PC (god forbid) like an HP or Acer or something, they have to be able to netboot. Otherwise it works like a charm.
    Building a workflow in DeployStudio is pure "drag and drop". So it´s easy.

  • Firefox V30 will not create new tabs. OSX 10.9.3

    I am not able to open a new tab.
    The "+" on the right of the existing tab changes color when I click it but no new tab appears.
    Selecting Command "T" does not create a new tab.
    I can only get new tabs to appear by spawning these as an option within an existing page that opens new content in a new window.

    BTW - the updating of my Add Ons did NOT fix the problem.

  • Problems create PDF Printer in OSX

    With Acrobat 9 I have one PDF Printer, but with Acrobat X I don't know how I can do it. I need help.

    The method for creating PDFs using the Print command changed in Mac OS v10.6 Snow Leopard with Acrobat 9.1 and later. The following procedure describes the method in both Snow Leopard and earlier versions of Mac OS X.
    Open the file in its authoring application, and choose File > Print.
    Choose Save As Adobe PDF from the PDF menu at the bottom of the dialog box.
    For Adobe PDF Settings, choose one of the default settings, or customize the settings using Distiller. Any custom settings that you have defined are listed. For most users, the default Adobe PDF conversion settings are adequate.
    For After PDF Creation, specify whether to open the PDF.
    Click Continue.
    Select a name and location for your PDF, and click Save.
    This information was taken from the Acrobat Help documentation at Create a PDF using the Print command (Mac OS X).

  • Got problems with creating RTF-files after OSX update

    Hi
    I don't know if this is really a MAC OS problem, but it occurred after I updated to 10.5.2 - so it's a likely suspect.
    Since the update I can't create RTF-files any more with Final Draft, my script writing program. A file is created, but when I try to open it I get an error message that it cannot be found. But the file is there: I can see it and click on it. It just won't open.
    Only today now I got the same error message with a doc-file I downloaded some months ago.
    The only big change I lately made to my Mac was the update to 10.5.2 and I got the new Office 2008 (both are the German versions). Could the problem come from either of them? I contacted Final Draft's support - they didn't know of the problem.
    Maybe someone else in this forum has encountered similar problems?

    Have you tried to Repair Permissions using Disk Utility?
    1. Open Disk Utility in your Applications/Utility folder.
    2. Click on the icon for your boot volume.
    3. Click on the First Aid tab and select Repair Permissions
    4. Click the repair permissions button.
    This is the first thing to try whenever any program goes wonky. It's free, but takes awhile for all the files that have to be checked and changed.

  • Snow leopard server is created endless duplicates in OSX Lion clients

    I am running a snow leopard server with address book server.  My client computer was Snow leopard and have no problem syncing with the 10.6 server in address book.  After the client computer is upgraded to 10.7 Lion, the address book application is creating a never ending stream of duplicate address entries in the client computer.  It happens to all the upgraded 10.7 computers.  The entries just keep multiplying into the thousands until I stop the address book server.  Anybody know of this problem and how to fix it??

    The address book on my mac somehow duplicated my contacts to the point where instead of about 200, I have about 100,000!  The program crashes  - if it even opens at all, which is sometimes doesnt - whenever I try to delete more than just a few.  And if it doesn't crash, it just takes forever to process.  At this rate I need a solid 3 hours to sit here and delete a few contacts at a time!  Did you ever figure out how to resolve this problem?

  • Creating SL Images on OSX Lion Server

    I have a 2011 Mac Mini with Lion Server.
    What is the best way to create Snow Leopard netboot / netinstall images from OS X Lion?
    I tried using System Image Utility, but Lion Server will not recognize any Snow Leopard disk.
    I have tried a number of different SL grey install discs, and the 10.6.3 retail...but Lion Server will not recognize these to create a netboot / netinstall image.
    Thank you for any assis

    Hi
    Download the Server Admin Tools from here:
    http://support.apple.com/kb/DL1457
    These are not installed when installing Lion and then Server App. Once installed launch Server Admin, click on the Server's name in the side panel, click on Settings > Services and enable the DHCP Service. Once enabled it should appear in the side panel. The rest should be fairly obvious?
    HTH?
    Tony

  • Has there been a resolution to the wake up issue created by upgrading to OSX Lion?

    Since upgrading to OSX Lion my iMac will not wakeup. Has there been any resolution to this problem?

    This is a problem with your computer and system, not with Lion. I suggest you do the following:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.
    Because the Lion volume will be erased I recommend you first backup your files so they can be restored after reinstalling Lion.

  • How do I create fraction characters in OSX 10.9.3?

    Can anyone tell me how to find fraction symbols? They used to be amongst the special characters, and now I can't find them

    They're still there.
    You might be getting caught out with the default minimized view of the Characters palette. Just click the icon in the upper-right corner to expand to the familiar full-sized palette.
    Once expanded you can search for 'fraction' to jump right to them.

  • OSX Tiger - can I create a backup CD?

    Hi,
    I bought my Intel Core 2 Duo MBP in January and have got some issues partitioning for bootcamp. I have tried to clone my HD to an external drive but because it's in NTFS it won't let me - therefore I decided to just backup my data and applications and do a reformat. However, I cannot find the little box with my system CDs in, can I create them in Mac OSX somehow or do I have to buy replacements?

    You will have to obtain replacements by calling AppleCare.

  • In 10.7, I No longer have permissions to files I created in 10.6

    I upgraded to Lion back in 2012 from Snow Leopard on my Macpro 1,1 (Because it can't go any higher than 10.7)
    And to Mountain Lion from Snow Leopard on my Macbook Pro 5,5.
    One EXTREMELY ANNOYING change that was made (and continuing in Mountain Lion) is that I no longer have permissions to my files that once belonged to me in Snow Leopard.
    And when upgrading from 10.5 to 10.6, this was never a problem.
    If I created files or folders within Snow Leopard, once I upgraded to Lion (and Subsequently Mountain Lion on my Newer Macbook Pro), I have lost my rights to those files.
    For example:
    When I try to delete files off my system, I have to enter the password for my Snow Leopard OS (the password on the OS when the file was created).  Luckily I didn't change it.  If I didn't know the password, I would not be able to delete the file from my computer.
    When I try to move a file or folder, instead of just Moving the location of the item, it creates a Copy instead, which takes up twice the space (Yes I know there are work arounds for this such as moving to the trash then recopying, but that still takes a lot of time).
    What are the fixes to this?
    Adjusting Share & Permissions in Info does not work.
    Fixing Permission within Disk utility does not work.
    Holding down the Command key also does nothing.
    The OS is saying I do not own the file so I have to have the password from the true owner to do anything to it.
    Please help.  This is extrememly cumbersome.

    Event Video Guy wrote:
    Could you further elaborate on this Migration Assistant?
    See How do I set up a new Mac from an old one, its backups, or a PC? for an explanation of the difference between Setup Assistant and Migration Assistant and links to the gory details of each. 
    Using Migration Assistant instead of Setup Assistant usualliy causes permissions problems, as detailed in the pink box in Problems after using Migration Assistant.
    But you didn't use either; you just copied things from one user account to a different one (it may have had the same name, but a different UID), resulting in the same problem. 
    I created a file using OSX Leopard.  I used a different password.  Then I saved the file as I detailed above to the external drive.
    I upgraded back to Mountain Lion and dragged the file back to my computer.  When I tried to move or delete the file, once again, it asked me for a password before I could delete the file.
    This time, it would only accept the password from my system, when the file was created.
    If I tried to type in my current Admin password, it would not move or delete.
    The version of OSX doesn't matter.  You must have used two different user accounts -- they might have had the same name, but different UIDs.
    One user, even an Admin user, doesn't normally have permission to a different user's files.
    This is very frustrating.
    No doubt.  Since you won't read the links that would fix the problem, you're not going to understand or be able to fix it.
    Again: One user, even an Admin user, doesn't normally have permission to a different user's files.
    Last time -- there are two very different things:
    • Repair Disk Permissions via Disk Utility works on files installed by OSX or the OSX installer; not files you created, and not files on a disk that doesn't have OSX installed. See About Disk Utility's Repair Disk Permissions feature.  
    • Resetting Password and/or Home Folder Permissions sets the permissions on files in a home folder to the defaults. 

  • New MAC OSX Address Book Groups Do Not Appear in iTunes for iPhone Sync?

    New Groups (and their associated new contacts) created in the MAC OSX Address Book since the initial installation of my iPhone do not appear in iTunes, and hence do not sync with iPhone. I have tried the Advanced - Replace information on this iPhone - Contacts to no avail.

    I had this problem for several weeks now!
    I followed your procedure and - addresses there, calender gone! Even worse!
    So I copied the old SyncServices Folder back into /Library/Application Support/
    result as expected, calender there, addresses gone.
    My lady called, I was on the phone for 10 minutes or so. Coming back to my iMac I see a Sync-Problem-Icon jumping in the dock. I've been told that one of my addresses has a conflict between adressbook and iPhone. OK. Solve it with adressbook, please.
    I open iTunes and everything is there, calender data and adresses!
    Finally!
    Thank you, Maurizio!
    Peter

  • What is the easiest way once you create a folder in Yosemite for it to alphabetize auto?

    Having to manually move any folders I create from the bottom of folder list up to designated point. Does anyone have any shortcuts or ideas, that my do this for me automatically once you create a folder?
    OSX Yosemite 10.1.1
    I am trying to do this with all my mail, right now working on the iCloud mail.
    Thank you!

    Hi Tq1,
    You can choose a number of ways to sort items in a Finder window in Mac OS X 10.10 (Yosemite). See this article for how to select your sort order -
    OS X Yosemite: Ways to view items in Finder windows
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Macbook air, reinstall osx problem

    I have a mac air early 2008, the hard drive broke so i got it replaced, now i need to install OSX.
    I have created a flash with OSX bootable, created with mavrik app.
    When i hold downt he option key to select boot from usb, it only shows the wifi option, no HDD, no usb, just wifi.
    I try and hold down the keys from some of the boot commands and nothing seems to work other than the option key!
    This is gettin very anoying as on windows i would just goto BIOS and chance start up drive, not so easy on a mac.
    Thanks for you help
    Davey

    Wait... maybe you can use internet revcovery. That's the wifi icon....
    OS X Internet Recovery
    Mac models introduced after public availability of OS X Lion include the ability to start up directly from an Internet-based version of the OS X Recovery system. OS X automatically uses this feature when the Recovery System on the hard disk isn't available (such as when your hard disk encounters an issue, or when your hard disk has been replaced or erased). OS X Internet Recovery lets you start your Mac directly from Apple's servers. Starting up from this system performs a quick test of your memory and hard drive to check for hardware issues.
    OS X Internet Recovery presents a limited interface at first, with only the ability to select your preferred Wi-Fi network and, if needed, entering a passphrase. Next, OS X Internet Recovery downloads and starts from a Recovery System image. From there, you are offered the same utilities and options as a local Recovery System.
    Some computers that did not ship with OS X Lion or later installed may be able to add the ability to use Internet Recovery by applying a software update.

  • Can I run bootcamp and mac osx

    Can I setup two different user accounts with one running bootcamp with windows and the other running mac osx?

    You don't "run" Boot Camp. You run Windows and OSx.
    Install Windows using Boot Camp Assistant. Create a password protected Windows user. Create a password protected OSx user.
    When someone boots the computer have them press and hold the option key. If Windows is selected as the boot option, only the Windows user will be able to log in. If OSx is selected as the boot option, only the OSx user will be able to log in.

Maybe you are looking for

  • How can I unlock a disabled ipad if it has NEVER been synced?

    Hi read everything I found but there is no option for unlocking a disabled ipad if it has never been synced with any pc.  Any suggestions?  its my kids ipad and he is driving me nuts !!!! help !

  • Time machine lost backups.

    LAte last yea, I had to remove data from my MacBook to install new software. So I checked my time machine and ensured all my data was backed up before deleting anything. Sure enough it all looked good with backup as old as two years. Today, Imhave to

  • Problems license CS4 on maverick 10.9.2

    Hi, InDesign CS4 no longer opens and shows me the window that the license is no longer authorized for this product. Adobe support has not solved the problem. Photoshop and Illustrator work OK. thx in advance Luca

  • Informazioni - Information

    Ciao a tutti/e, ho bisogno di informazioni da voi: Ho questo Mac OS X Lion, e come ID apple avevo MSN per le applicazioni per Apple Store, per Mac e iPod, ora che ho cambiato tutto, sono passato da OS X Mountain Lion, e ho cambiato anche l'ID apple,

  • Wiping my iMac to zeros.. but lost my original disc.

    I want to wipe my computer to zeros but cannot locate the original Snow Leopard disc.  Any other way of doing this without the disc? I am prepping it for sale. Except now I have to sell it without the start up disc. That may be a problem and I'll dea