yup

here is how I have done it in the past

echo "passwordHere" | sudo -S /usr/sbin/sysctl -w net.inet.ip.forwarding=1;sudo /sbin/ipfw add 102 fwd 127.0.0.1, destinationPort tcp from any to sourceAddr sourcePort in;sudo -K

replace destinationPort with the port your app is actually listening in on replace sourcePort with the source port you want the public interface to be on replace sourceAddr with the ip address for the public interface (you can use 'any' or if you are multihoming and only want to listen on one ip use the actual ip

HTH
  Sam D
On Aug 1, 2006, at 3:23 PM, [EMAIL PROTECTED] wrote:

So, has anybody actually managed to use ipfw on OS X to forward one port to another?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to