FlyingFish
FlyingFish on GitHub
  • FlyingFish
    • About the project
    • Screenshots
    • Installation
      • Quick Setup
      • Quick Update
      • Create Backup
      • Long setup
        • Env
        • Docker compose
          • Ports
          • Network
      • Storage management
      • FAQ
    • Configurations
      • Which user type am I
      • Listen
        • Port forwarding
        • Proxy protocol
        • IP Access
        • Gateway identifiers
        • UPnP Nat
      • Domains
        • DynDns Clients
        • Own DNS Server
        • Discussions Subdomains
        • DynDns Server
      • Routes
    • Examples
      • SSH hidden on HTTPS
      • FlyingFish to other reverse proxy
      • Backup Server, SSH to Nas
      • Own DynDNS Server - Fritzbox
      • Inventree - Route
    • Developer
      • Ideas, requests and bugs
      • Project structure
        • Under the hood
        • Service structure
        • Schema
        • Object name rules
      • Image build
      • Plugins
    • Contribution
Powered by GitBook
On this page
  • Add/Edit Listen
  • Listen flow
Edit on GitHub
  1. FlyingFish
  2. Configurations

Listen

At the beginning of the installation there are standard ports that listen for a connection.

PreviousWhich user type am INextPort forwarding

Last updated 1 year ago

The ports specified here come from the web interface and are used by nginx intern docker container.

Port
Description

80 (TCP)

HTTP Protocol

443 (TCP)

HTTPS/SSH/SSL Protocols*

53 (TCP/UDP)

DNS Protocol

If you only use the standard ports for your services, you do not need to enter any additional ports here.

Add/Edit Listen

Add a list, a dialog follows that also appears when editing.

  1. Name: Name your list, so you always recognize it in the UI.

  2. Type: Type of listening from Nginx proxy. Stream or HTTP/HTTPS, the difference is how the connection is handled.

  3. Protocol: Which protocol should be used, UDP can also be used in addition to TCP for a stream.

  4. Port: Which port the listening is listening on.

  5. Description: Here you can describe in more detail what the listener is used for.

  6. IP6 enable: Additionally enables listening on an IP6 address (untested yet, but enables it in the nginx config).

  7. IP access: Enables checking of the IP address against a list (blacklist/whitelist).

  8. Disable this listen: Disables listening, settings are skipped during nginx config build. All dependent routes are also skipped.

Imagine the Type 2 zones, the Stream represents the external zone with the color orange and the HTTP/HTTPs with the color green the internal zone.

The Internal Zone can only be accessed from the External Stream Zone.

Save causes an immediate reload of nginx. Existing connections are kept as if running the command: nginx -s reload

Listen flow

The following graphic should help to understand the list process:

Port 5333, 80, 443 Listening on the network from the host (as a bridge, port forwarding to the Docker container).

The internal ports are only accessible in the Docker network and are securely shielded from the public network. It must pass stream ports 5333, 80, 443 via a query.

These ports are internal to nginx of type "Stream". You can see a port overview again in .

Access type: Which list to use for the IP check. The lists can be maintained under .

Proxy protocol enable: Activates the use of the . From now on all packets are provided with the header. This setting is important for internal HTTP/HTTPS processing. Only in this way does the route get the correct IP of the inquiring request for further checks or logging.

Proxy protocol incoming enable: Enables expecting a packet with a proxy header. Should the FlyingFish sit behind another proxy server with a .

After the initial installation, you can view the automatically installed listeners. You will find that ports 80 and 443 work with the . There is a good reason for this, since the stream points to the internal HTTP/HTTPS servers (lists). Which in turn expect the to process the correct IP from the request and not the IP 127.0.01.

There, the Nginx first uses " to check whether the IPs have access rights. Then the streams (TCP/UDP) are split into their protocol (SSL/HTTP/etc.) and split into for forwarded to a destination. Should not specify an external destination, then use the internal ports for the HTTP (10080) and HTTPS (10443) server are specified as standard. They perform a "proxy reserve" and request a route too internal or external HTTP/HTTPS server.

port forwarding
IP Access
proxy protocol
proxy protocol
proxy protocol
proxy protocol
proxy protocol
IP access"
domains
Standard listen ports by setup
Add Listen
Portsflow
Listen flow!