Redirect local service to custom proxy
Posted
by Pedro Laguna
on Server Fault
See other posts from Server Fault
or by Pedro Laguna
Published on 2010-03-05T11:31:46Z
Indexed on
2010/03/20
1:11 UTC
Read the original article
Hit count: 454
Hello,
I'm trying to create a custom proxy program but I have a problem.
My program connects to a fixed port from a random port and I need to tunnel all this traffic by my local proxy.
I think the solution is using iptables, but all the topics I found are related to redirect incoming connections, not outbounds.
How can I redirect all the traffic from a local port to another local port and later to the internet?
Thanks,
© Server Fault or respective owner