2
votes
2answers
518 views

OSX: Mimic Ubuntu IP Masquerading via iptables with ipfw

Good day, I am attempting to replicate a setup I have between a router and an Ubuntu PC, and have the same setup working on my MacBook (10.6, Snow Leopard). First, I have a router that has a USB ...
0
votes
0answers
107 views

How do I redirect traffic in Freebsd or Mac?

I am using mitmproxy which listens to traffic on port 8080 of all interfaces. Im using the internet sharing feature of mac os x (10.8) and have created a bridge0 interface. I want the 80 and 443 ...
0
votes
0answers
212 views

ipfw to redirect traffic from port 80 and 443 to 8080

-A PREROUTING -s 10.0.10.0/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 -A PREROUTING -s 10.0.10.0/24 -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8080 -A POSTROUTING -s 10.0.10.0/24 -o ...