# 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:** 1\
**Showing post:** 2

<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!

---

_[View the full topic](https://forum.gl-inet.com/t/how-can-i-forward-all-inbound-traffic-to-local-http-or-socks-proxy/39349)._
