-2
votes
1answer
281 views

Hostname to Localhost with Port - OSX [duplicate]

I am trying to run multiple Node.js web servers locally on my machine. Because the code I'm writing needs to reference a domain name I'd like to keep a convention of dev.myHost.com and point that to ...
1
vote
0answers
441 views

Local transparent proxy with ipfw and squid

I want to use a local transparent proxy to have a single place to enter the password to an office proxy. Basically, all the TCP packets sent to port 80 except the ones sent to specific subnet should ...
1
vote
2answers
1k views

Port forwarding in Mountain Lion

This HAS to be something that can be done. I've searched and found many answers that claim to do what I want, but I can't seem to put it together. So... I am running a Linux virtual machine under ...
0
votes
1answer
264 views

Why do these ipfw delayed pipes have no effect?

I'm on OSX 10.7.5 and am attempting to add some latency to the connection to my personal domain with ipfw, using this article as a guide. Normal latency: > ping -c5 troutwine.us ...
2
votes
1answer
744 views

Converting iptables command to ipfw

I am trying to convert code I made on ubuntu work with osx. I do not know how to convert the iptables commands to ipfw commands. Any help would be appreciated. Ubuntu Code: echo 1 > ...
2
votes
2answers
8k views

how can I access a webserver running on my NATed VMware Fusion guest from the rest of the subnet?

I am not allowed to run my VMWare guest in bridged mode, and I want to somehow tunnel from an agreed port on the Mac's external network interface to the webserver running on the VMWare fusion guest. ...
1
vote
3answers
1k views

Transparent proxying leaves sockets with SYN_RCVD in MacOS X 10.6 Snow Leopard (and maybe FreeBSD)

I'm trying to create a transparent proxy on my MacOS machine in order to port the sshuttle ssh-based transproxy VPN from Linux. I think I almost have it working, but sadly, almost is not 100%. Short ...
0
votes
1answer
1k views

bandwidth throttle on OSX with IPFW for localhost

I have my localhost webiste on http://macintosh.local - 127.0.0.1 Testing my website also for IE on the same address in VMWare Fusion I tried some Apps from hanynet.com/applications/ like WaterRoof. ...
14
votes
5answers
30k views

iptables equivalent for mac os x

I want to forward requests from 192.168.99.100:80 to 127.0.0.1:8000. This is how I'd do it in linux using iptables: iptables -t nat -A OUTPUT -p tcp --dport 80 -d 192.168.99.100 -j DNAT ...
4
votes
2answers
5k views

How do I enable IP-forwarding in MacOS X?

What is the correct way to enable IP-forwarding in MacOS X? More specifically, what is the MacOS X command line quivalent of the following two Linux commands: echo 1 > ...
2
votes
3answers
604 views

Mac OS X Firewall Configuration: what's the easiest way to do it?

On occasion I need to configure the firewall on OS X machines (10.5), and I've been trying to figure out the best (read: easy without sacrificing too much control) way to do it. So far it seems like ...