Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward incoming requests to a specific dport to the host running silentbridge #5

Open
MexHigh opened this issue Feb 23, 2022 · 0 comments

Comments

@MexHigh
Copy link

MexHigh commented Feb 23, 2022

Is it possible to forward incoming request from any network participant to the supplicant to the host running silentbridge (in my case a Rapsberry Pi)? I'm using the classic 802.1x bypass.

Use case

My use case is that I want to run e.g. a HTTP server on the Raspberry Pi "in the name of the Supplicant". Incoming packets to the supplicants IP and port 80 should be "taken out" of the transparent bridge and destined to the HTTP server.

image

In this scheme requests to 192.168.0.38:80 should be processed by the services running on the Raspberry Pi and the rest should flow to the supplicant, as usual.

Usually I would use iptables DNAT rules or policy based routing to accomplish this, but as the silentbridge host does not have own IP addresses on the phy and upstream interfaces, so I don't really know what to do here. I would appreciate some help or ideas :)

Thanks for this very nice tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant