OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of coldtech »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - coldtech

Pages: [1]
1
18.7 Legacy Series / Host small webserver on opnSense / add lighttpd vhost?
« on: October 11, 2018, 02:38:49 pm »
Hey everyone,

I just recently started setting up an opnSense installation and am in the process of migrating my openwrt settings. One of the things I did on my openwrt router was having lighttpd installed which just hosts a single webpage on port 83 - which I forwarded locally in the firewall so that users accessing my public IP address on port 80 will be shown this single page.

Is it possible to do this with opnsense using vhosts (or any other method)? I'm assuming yes, since opnsense already runs lighttpd for the GUI, but because of that the existing lighttpd config is rather intimidating. I just don't know the steps and where to start. So to summaroize what I would like to do:

- host a single webpage on the opnsense machine
- make it accessible from the outside
- all of that without making the management GUI accessible from the outside or mess up the management GUI in any way

Did anyone already do this? I don't want to set up up a separate machine just for this single page...

Any help would be appreciated!

Pages: [1]
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