OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How can I send traffic from an Alias to a SOCKS client?
« previous next »
  • Print
Pages: [1]

Author Topic: How can I send traffic from an Alias to a SOCKS client?  (Read 2089 times)

revnelson

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
How can I send traffic from an Alias to a SOCKS client?
« on: November 08, 2019, 02:11:09 pm »
I have a ShadowsocksR client running on my opnsense box. From the shell, I can see that it's working:

Code: [Select]
root@OPNsense:~ # curl --socks5 localhost:1080 ip.sb
101.202.101.222
root@OPNsense:~ # curl ip.sb
202.44.22.103

I've changed the IPs, but they are what is expected.

So I know this service is working and ready to receive SOCKS5 traffic.

How can I send the traffic from an Alias (group of networks) to this service? I don't know if this is a gateway, tunnel, proxy, etc.

Googling forever has pointed me down roads that speak of Dante, Redsocks, and all manner of other things.

To be clear, I don't need to send this traffic out via SOCKS5 anywhere. I already have a service configured and waiting for SOCKS5 traffic. I just need to bundle all that traffic together and make sure the response goes back to the right client when it returns.

I don't mind needing to use the CLI to set another service up, but I would need some help with what I should be looking for. Also, I would need some help with firewall rules and NAT rules to make sure the traffic on an Alias that would otherwise go out the main gateway is redirected to 127.0.0.1:1080 as SOCKS5 traffic.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • How can I send traffic from an Alias to a SOCKS client?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2