Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Diagram:

OpenVPN client A ----> openVPN Server A ----> Squid Proxy (remote)

When client A connects to openVPN Server A, I want all of his traffic going to the squid proxy and exiting through that WAN interface on Squid (remote location).

How can I do this?

share|improve this question

1 Answer 1

You can do that by setting up iptables to forward traffic to the squid box:

http://tldp.org/HOWTO/TransparentProxy-6.html

Google for 'transparent proxy squid' if you need more examples.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.