IPTables is a third option (assuming tinyproxy isn't just a wrapper for iptables in the first place).
Something like, iptables -t nat -A PREROUTING -p tcp --dport 21002 -j DNAT --to- destination 10.0.0.2:21 iptables -A FORWARD -d 10.0.0.2 -p tcp -m tcp --dport 21 -j ACCEPT Has the same port-changing requirements, but at least it doesn't require an additional proxy running.
-- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
