This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Non standard port for Http site over proxy ?

Hi,

when I use the proxy (in my case I have to use it) in transparent modus and surf to a website with a non standard port (looks like  http://www.test.com:7892 ) it doesn't work ?

ERROR
The requested URL could not be retrieved
The following error was encountered: 

Access Denied. 

Any ideas or workaround ? 
I use the ASL 5.1.

Thanks
Thor


This thread was automatically locked due to age.
Parents
  • There is only one difference between standard mode and transparent mode. The difference is a "REDIRECT" rule in the netfilter framework of Astaro. The Netfilter Framework of Astaro is iptables.
    Problem is, that this rule only matches for port 80. Not for other ports. But that's no problem. Let's create the missing rule:

    Goto Webadmin -> Network -> NAT/Masqurading.
    Rule Type: DNAT/SNAT
    Source address: The network your client is (normally the LAN)
    Destination address: Any (normally the internet)
    Service: The service you like to add to transparent proxy. Port 8081 for example.
    Change Source to:  :: No change ::
    Change Destination to: The internal Interface of the ASL (normally the LAN interface)
    Service destination: SQUID (8080).

    Then goto Proxies -> HTTP
    Add the port you like to add (in this example port 8081) to "Allowed Target Services".

    Done
    Xeno
  • Hi Xeno,

    thank you for the tip. It´s working fine.
    It seems that it is enough to allow the port in the HTTP proxy.
    DNAT/SNAT is not necessary.

    Regards
    Thor
  • No you need both, if you like to use in transparent mode.

    If you set the proxy in your browser manually, it is enought to allow the port in the proxy.

    Xeno
Reply Children
No Data