# How can I forward all inbound traffic to local http or socks proxy?

**URL:** <https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349>\
**Category:** VPN, DNS, Leaks\
**Created:** [March 5, 2024, 9:54am UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349 "2024-03-05T09:54:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohsent](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/mohsent/32/16045_2.png) [@mohsent](https://forum.gl-inet.com/u/mohsent)\
**Post date:** [March 5, 2024, 9:54am UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349/1 "2024-03-05T09:54:43Z")

</div>

I have a GL-AXT1800 and have setup SOCKS and HTTP proxies on it which are listening on 0.0.0.0:1080 and 0.0.0.0:1081 respectively. How can I forward all the traffic coming from connected devices to those proxies?

---

<div class="post-metadata">

**Author:** ![SpitzAX3000](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/spitzax3000/32/11018_2.png) [@SpitzAX3000](https://forum.gl-inet.com/u/SpitzAX3000)\
**Post date:** [March 6, 2024, 4:15am UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349/2 "2024-03-06T04:15:50Z")

</div>

> [@mohsent](#):
>
> SOCKS and HTTP proxies

An HTTP proxy cannot be used for all traffic; only Layer 7 (HTTP/HTTPS) protocols can be proxied through this mode. For the SOCKS5 mode, you can proxy all Layer 4 (e.g. TCP/UDP) traffic through it _regardless_ of the protocols in use. It’s just like running TOR, which uses the same SOCKS5 technology.

- Now, you can use a SOCKS client like **socksify** on your LAN hosts to tunnel traffic through the OpenWRT SOCKS5 proxy.
- If however, you _not_ want to install any client software on your LAN hosts, you should do some more configurations on the OpenWRT itself to intercept, and redirect all inbound traffic to the proxy.

Something like this might help, although it is more advanced and more than you need:

> **[How to Route All Network Traffic from your LAN securely through a SOCKS5 proxy...](https://www.dnsflex.com/how-to-route-all-network-traffic-from-your-lan-securely-through-a-socks5-proxy-ssh-tunnel-redsocks)**
>
> Note: We no longer support SSH Services   Converting your router into a SOCKS Tunnel can be a useful tool; generally...

Note! SOCKS always slow down the traffic!

---

<div class="post-metadata">

**Author:** ![mohsent](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/mohsent/32/16045_2.png) [@mohsent](https://forum.gl-inet.com/u/mohsent)\
**Post date:** [March 6, 2024, 10:39am UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349/3 "2024-03-06T10:39:31Z")

</div>

Thanks for the great insight!  
Do you know a transparent proxy solution that has a luci GUI app by any chance?

---

<div class="post-metadata">

**Author:** ![SpitzAX3000](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/spitzax3000/32/11018_2.png) [@SpitzAX3000](https://forum.gl-inet.com/u/SpitzAX3000)\
**Post date:** [March 7, 2024, 3:25am UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349/4 "2024-03-07T03:25:12Z")

</div>

> [@mohsent](#):
>
> Do you know a transparent proxy solution that has a luci GUI app by any chance?

No. I have never configured SOCKS proxy on OpenWRT because noways I do not see any valid usage scenarios, unless you have one. VPNs are a better alternative.

---

<div class="post-metadata">

**Author:** ![admon](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/admon/32/32880_2.png) [@admon](https://forum.gl-inet.com/u/admon)\
**Post date:** [March 7, 2024, 4:52pm UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349/5 "2024-03-07T16:52:05Z")

</div>

8 posts were split to a new topic: [[Off-topic] SOCKS proxy speed](https://forum.gl-inet.com/t/off-topic-socks-proxy-speed/39448)

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 11:37am UTC](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349/6 "2025-10-29T11:37:09Z")

</div>


