Results 1 to 2 of 2

Thread: How to forward local HTTP requests to remote Proxy with IPTables ?

  1. #1

    How to forward local HTTP requests to remote Proxy with IPTables ?

    How to forward local HTTP requests to remote Proxy with IPTables ?



    -------------------------------------------------------------------------------------
    -----------------------|^^^^^^^^ |------------------------|^^^^^^^^ |
    -----------------------|^^^linux^^^|------------------- ----|^^squid^^^|
    Clients --------------> | ^^server^^|----------------------->| ^^server^^|
    -----------------------| ^^^^^^^^ |-----------------------|^^^^^^^^ |
    -----------------------| ^^^^^^^^ |-----------------------|^^^^^^^^ |
    --------------------------------------------------------------------------------------

  2. #2
    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

Similar Threads

  1. Squid configuration question. Client => HTTPS => proxy => HTTP => webserver
    By newhere in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 09-06-2008, 04:31 AM
  2. iptables http forwarding problem
    By sirstan in forum Security
    Replies: 1
    Last Post: 04-23-2008, 11:24 AM
  3. allowing incoming http requests-iptables-red hat 9.0
    By s_hcl in forum Linux - Software, Applications & Programming
    Replies: 25
    Last Post: 08-24-2006, 05:52 AM
  4. Problem recving HTTP requests when Apache listens on port 80
    By hecter in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-30-2004, 05:27 AM
  5. Qmail forward to remote gateway for SMTP
    By datamike in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-29-2004, 06:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •