On Aug 01, 2006, at 22:51 UTC, Sam DeVore wrote: > 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
For the record, this works like a dream! I can execute the above in a shell (filling in appropriate values for destinationPort, sourceAddr, and sourcePort), right before calling ServerSocket.Listen, and now my app appears to all the world to be listening on the standard port. This is a very clean solution, which doesn't risk giving my app root privs, nor require mucking about with setuid bits, declares, or plugins. Thanks, Sam! Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ 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>
