This discussion is archived
1 Reply Latest reply: Mar 4, 2013 7:24 AM by Hodware RSS

forwarding proxy requests from ports other than 80

993088 Newbie
Currently Being Moderated
Hi,

Is there a way to forward requests from ports other than 80 to the proxy address? For example, trying to define a rule to forward the requests from port 8080 to proxy_ip...

Best regards,

Emre
  • 1. Re: forwarding proxy requests from ports other than 80
    Hodware Newbie
    Currently Being Moderated
    Hi Emre,
    Have you looked into using ipfilter port redirecting ?
    It may depend on your configuration.

    /etc/ipf/ipf.conf

    pass in quick from any to any port = 8080 keep state
    pass out quick from any port = 8080 to any keep state

    /etc/ipf/ipnat.conf

    rdr <Interface> <hostname or IP> port 8080 -> <hostname or IP> port 8080 tcp

    Edited by: Hodware on Mar 4, 2013 7:24 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points