VLAN: Binding services like nginx, smb to a specific vlan (e.g. eth0.10)

  • I'm setting up a omv server with two vlan interfaces.
    How can i bind services to one specific networking interface (vlan interface not to e.g. eth0)?
    What is the default interface if i do nothing? Does the service react on all interfaces of the computer?


    Thanks.
    Jojo

    • Offizieller Beitrag

    Nginx is configured to listen an all interfaces. Afik there is now way to configure it via env variables so changes stay permanent. You can edit manually nginx conf but if you change a port or change to ssl the file will be recreated. If you want to restrict acccess use iptables rules.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!