1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Suggestions: Proxy Server with Authentication

Discussion in 'Asuswrt-Merlin' started by lazmo88, Oct 21, 2019.

  1. lazmo88

    lazmo88 Occasional Visitor

    Joined:
    Oct 20, 2019
    Messages:
    14
    Hello

    We were planning to run tinyproxy via entware on the AC87U, however the package is outdated (1.8.3) and does not support basicAuth. Releases from 1.10.xx does support basicAuth, yet I have no idea how to start compiling the package on my own.

    That said, does anyone have tips how to achieve such proxy setup with AC87U?

    Here are few ideas and shortfalls of such:

    1. VPS acting as tinyproxy host (running latest package) and routing traffic via VPN tunnel to AC87U, effectively using the WAN IP of AC87U for outgoing traffic. Simple idea, yet question remains is it possible to route tinyproxy traffic to VPN tunnel (OVPN or PPTP)?

    1.5. Same as above, but using Squid and tcp_outgoing_address parameter mapped to the VPN tunnel.

    2. Finding alternative entware package that supports transparent forwarding proxy (HTTP/HTTPS) with basicAuth. Squid?

    Main goal is to proxy traffic so AC87U WAN IP will be used for outgoing traffic.

    Thanks in advance
     
  2. RMerlin

    RMerlin Super Moderator

    Joined:
    Apr 14, 2012
    Messages:
    31,288
    Location:
    Canada
    Nginx is often used for proxying, might be worth looking into it.
     
    lazmo88 likes this.
  3. lazmo88

    lazmo88 Occasional Visitor

    Joined:
    Oct 20, 2019
    Messages:
    14
    Ah, thanks. Never thought NGINX for this purpose. Tried running the nginx-extras package from entware, but it's a no go. Issue with user / groups and missing pid What am I missing here?

    Also, it looks like the nginx-extras is compiled without ngx_http_proxy_connect_module which is required for https forwarding.
     
  4. heysoundude

    heysoundude Very Senior Member

    Joined:
    Sep 20, 2016
    Messages:
    540