Mobile Webserver

Discussion in 'General' started by unsichtbare, Sep 26, 2024.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    So I have this idea that I might like to create a mobile web server based on a Raspberry pi with a 4G hat and ISPconfig.
    I know at the very minimum I would have to use dynamic DNS or route the web server through a VPN with a static IP on the other end.
    Is this completely ridiculous or within the realm of reasonable?
    THX,
    JB
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Possible but may not be practical. Also it is not completely ridiculous but its reasonableness will depend on individual reasoning. I can think of, may be, using it for presentation or proof of concept but not for a proper web server.
     
    unsichtbare likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess, in most cases, it would be better to rent a cheap cloud server. But generally, it should be possible doing that.
     
    unsichtbare likes this.
  4. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I already have a couple of web servers both on my own hosted infrastructure and in the cloud.
    I was actually more interested in creating a lightweight web server that could work anywhere (solar, off-grid, etc.)
    I might just give it a try!

    Thanks,
    John
     
    ahrasis likes this.
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Raspberry Pi uses 5 or 10 watts, so could be powered by solar cell. If sun is not shining battery backup could work.
    There is already this solar powered website: https://solar.lowtechmagazine.com/
    If you have the low power computer, solar cells and battery, the project is doable. I think only difference to the usual ISPConfig setup would be the IP address of that host. If it is not online all the time the IP may change when it comes back up. That needs some twisting of knobs in name service to make it work.
     
  6. unsichtbare

    unsichtbare Member HowtoForge Supporter

    And that light I think an openvpn connection to a static IP address would accomplish the goal of running a web server as if it was behind a Nat on a DMZ.
     
  7. remkoh

    remkoh Active Member HowtoForge Supporter

    I don't quite understand what you mean with "an openvpn connection to a static IP address" and are trying to accomplish with that.

    You do need some sort of nat firewalling solution so your ISPC server can have a static ip on one nic (may be virtual, will be firewall's lan or dmz) and another nic for your internet connection (will be firewall's wan).
    With ddns on top of that your ISPC server can be completely mobile without any other dependencies.
    Creating an openvpn solution will require another endpoint somewhere on the internet.
     

Share This Page