[Question] Network-Wide Resolution & Routing of Non-Standard Traffic?
from fenndev@leminal.space to selfhosted@lemmy.world on 09 Jun 15:55
https://leminal.space/post/7414428

TL; DR: Is it possible (and if so, desirable) to configure my OPNsense router to handle non-standard traffic instead of needing to configure each client device manually? Examples of what I mean by ‘non-standard traffic’ include Handshake, I2P, ZeroNet, and Tor.

#selfhosted

threaded - newest

MangoPenguin@lemmy.blahaj.zone on 09 Jun 16:26 next collapse

You mean run those programs directly on opnsense? I don’t believe there is any way to do that.

No configuration is needed on opnsense to use them as normal on your devices though, so that’s your best option.

ShellMonkey@lemmy.socdojo.com on 09 Jun 16:41 next collapse

Not sure if you mean to run the service on the FW or what ‘handle’ means here. If you have a second box though it would be easy enough to run all those services on a distinct server and then route their relevant ports through there with a policy based route on the firewall. That way you would only have to set up one for node for example and just have the client machines use that.

fenndev@leminal.space on 09 Jun 20:15 collapse

Sorry, I should clarify. I’m hoping to possibly have a setup like this:

  1. Browser makes a request to an eepsite
  2. The router sees the request is to a domain ending in .i2p and forwards the request to a service running on the router
  3. That service then performs the necessary encryption and establishes connection with the I2P network.

I’d imagine it’s a similar process for other protocols and networks. No idea if this is possible or desirable.

ShellMonkey@lemmy.socdojo.com on 09 Jun 20:49 collapse

grepular.com/Transparent_Access_to_I2P_eepSites

Something like this makes logical sense, but can’t say I’ve ever tried such a feat. As a general rule though keeping the gateway/firewall free of extraneous software is a good practice just to limit the potential attack surface. If you try it I’d create a dedicated VM somewhere to host the i2p/Tor gateway from to keep it off the network edge directly.

mhzawadi@lemmy.horwood.cloud on 09 Jun 18:55 collapse

If your looking to allow that kind of traffic in and out of opensense, then yes if you use it. Just be mindful of what you need and only allow that in, outbound is normally everything.