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 > /proc/sys/net/ipv4/ip_forward iptables -A FORWARD -j ACCEPT
You're doing two things there.
Does Mac OS X IPFW allow port forwarding from local ports to local ports? I have dansguardian 127.0.0.1:8883 and squid 127.0.0.1:3333 running on a mac as my firerules.
I'm trying to do this (on same mac)browser->dansguadian->squid->Internet
so I'm using this rule - fwd 127.0.0.1,8883 tcp from any to any 80
I tried using natd and redirect with little success.