connect to Raspberries behind the FW

Started by vikozo, August 03, 2017, 01:17:22 PM

Previous topic - Next topic
Hello
i would like to Setup the Firewall to be able to use my Webserver in my Network.
on my ISP Router (a Fritzbox) it is possible to Expose a Server, so my Bind, web and Mail is working.
but now with the same WAN IP addressee I would like to Access my Raspbeeries too.
something like
raspberri01.kozo.ch = 192.168.10.7
raspberri02.kozo.ch = 192.168.10.8
raspberri03.kozo.ch = 192.168.10.9
should be accessible too, all off them would have a webgui too
would this be possible to configure like this?
have a nice day
vinc
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

If your ISP only provides one WAN IP address, you have two options:

- you can run each Pi on its own HTTP port; e.g. 81, 82, 83
- you can run a reverse proxy which sets the webroot of each Pi to a directory

This is for public access. If you only want to access them from a few clients, consider setting up a VPN server on OPNsense.

Bart...

alternative: using hostnames for HTTP to forward the traffic to the right pi.

Thanks for your Feedback.
i will buy the Hardware and start it
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

Quote from: fabian on August 03, 2017, 07:51:44 PM
alternative: using hostnames for HTTP to forward the traffic to the right pi.
Thanks for your feedback
is there a Howto/tutorial to read?
have a nice day
vinc
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

This is an HAProxy ACL so you will need to search for a HAProxy tutorial.