OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • connect to Raspberries behind the FW
« previous next »
  • Print
Pages: [1]

Author Topic: connect to Raspberries behind the FW  (Read 4127 times)

vikozo

  • Full Member
  • ***
  • Posts: 211
  • Karma: 5
    • View Profile
    • wombat.ch
connect to Raspberries behind the FW
« on: August 03, 2017, 01:17:22 pm »
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
Logged
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: connect to Raspberries behind the FW
« Reply #1 on: August 03, 2017, 07:38:15 pm »
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...
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: connect to Raspberries behind the FW
« Reply #2 on: August 03, 2017, 07:51:44 pm »
alternative: using hostnames for HTTP to forward the traffic to the right pi.
Logged

vikozo

  • Full Member
  • ***
  • Posts: 211
  • Karma: 5
    • View Profile
    • wombat.ch
Re: connect to Raspberries behind the FW
« Reply #3 on: August 10, 2017, 02:49:30 pm »
Thanks for your Feedback.
i will buy the Hardware and start it
Logged
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

vikozo

  • Full Member
  • ***
  • Posts: 211
  • Karma: 5
    • View Profile
    • wombat.ch
Re: connect to Raspberries behind the FW
« Reply #4 on: August 18, 2017, 08:08:10 am »
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
Logged
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: connect to Raspberries behind the FW
« Reply #5 on: August 18, 2017, 09:37:47 pm »
This is an HAProxy ACL so you will need to search for a HAProxy tutorial.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • connect to Raspberries behind the FW
 

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