I want to make a web-service that is going to make requests to various other servers. However, I don't want those servers to be able to pinpoint the location/IP address of my service (As a SPAM prevention method, along with other things).
I was wondering if it's possible to set a server box (Be it dedicated or VPS, with a popular linux distro) to run all outgoing connections via Tor (ideally silently and separately from the service that makes the requests).
The end result should be that using a simple cURL or other HTTP requests from the server would run through Tor and as such would be anonymized.
Is this possible? Am I barking up the wrong tree? If it is, could you provide with pointers/articles that can help me implement this?
Note: This is all still theoretical. I don't have the server or the service yet, so I can implement it in any way I need for this to work.