Announcement

Collapse
No announcement yet.

Secure remote access to fr24feed possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Secure remote access to fr24feed possible?

    As the server control web access sits on port 8754 along with the server settings that can be changed to any command (scary).
    Is there a way to secure this web controller port so one can safely access it outside of the LAN?

  • #2
    You have forwarded a port to it so that you can access it from outside?
    --

    Comment


    • #3
      Took a bit of fiddling around as the paths are all coded as absolute, but if you're running Apache on the same LAN this Apache config section will allow you to require a password to access the feed externally at /fr/:

      Code:
      ProxyPass /fr/ http://hostname/ip-of-fr24feed:8754/
      ProxyPass /flights.json http://hostname/ip-of-fr24feed:8754/flights.json
      ProxyPass /config.json http://hostname/ip-of-fr24feed:8754/config.json
      ProxyPass /monitor.json http://hostname/ip-of-fr24feed:8754/monitor.json
      ProxyPass /restart.bin http://hostname/ip-of-fr24feed:8754/restart.bin
      ProxyPass /shutdown.bin http://hostname/ip-of-fr24feed:8754/shutdown.bin
      <Location /fr>
        AuthType Basic
        AuthName Frfeed24
        AuthUserFile /etc/apache2/your-passwdfile
        Require valid-user
        ProxyPassReverse /
        ProxyHTMLEnable On
        ProxyHTMLURLMap / /fr/
        RequestHeader unset Accept-Encoding
      </Location>
      You'll need to set up the passwd file, enable apache modules (proxy.conf, proxy_html.conf, proxy_html.load, proxy_http.load, proxy.load) and it assumes none of the Fr24feed page names conflict with your existing site (flights.json, config.json, moitor.json, restart.bin, shutdown.bin).

      Comment


      • #4
        Originally posted by Khan View Post
        You have forwarded a port to it so that you can access it from outside?
        No, not until I can secure it

        Comment


        • #5
          I'm hoping for a lighter solution

          Comment


          • #6
            ssh shell via a port forward will do

            Comment

            Working...
            X