Proxmox networking configuration

Discussion in 'Proxmox VE: Installation and configuration' started by backkherozzo1985, Apr 22, 2019.

  1. backkherozzo1985

    backkherozzo1985 New Member

    Joined:
    Mar 25, 2014
    Messages:
    8
    Likes Received:
    0
    Hi, I've a physical server with a network interface that have 2 public ip. I configure the networking as follow:

    iface enp2s0 inet manual

    auto vmbr0
    iface vmbr0 inet static
    address X.X.X.Y (public ip for the Proxmox GUI)
    netmask X.X.X.X
    gateway X.X.X.X
    bridge-ports enp2s0
    bridge-stp off
    bridge-fd 0

    #public
    up route add -net X.X.X.X netmask X.X.X.X gw X.X.X.X vmbr0
    up ip route add 192.168.0.0/16 via X.X.X.Y dev vmbr0
    up ip route add 172.16.0.0/12 via X.X.X.Y dev vmbr0
    up ip route add 10.0.0.0/8 via X.X.X.Y dev vmbr0
    up sysctl -w net.ipv4.ip_forward=1
    up sysctl -w net.ipv4.conf.enp2s0.send_redirects=0

    auto vmbr1
    iface vmbr1 inet manual
    bridge-ports none
    bridge-stp off
    bridge-fd 0

    I installed NGINX to the Proxmox server as a reverse proxy for access the Proxmox GUI to the 443 port and everything work without issue. Now I would forward the NGINX logs with syslog to the SIEM that I installed to the vmbr1 but I can't reach the SIEM vm from the Proxmox server. How a can solve this networking issue?

    Thank you
    R@ff
     
  2. lhorace

    lhorace Member

    Joined:
    Oct 17, 2015
    Messages:
    81
    Likes Received:
    8
    Hey there, have a look at NGINX docs, NGINX supports different log targets?
     
  3. backkherozzo1985

    backkherozzo1985 New Member

    Joined:
    Mar 25, 2014
    Messages:
    8
    Likes Received:
    0
    good morning, I would configure NGINX for sending logs with syslog, but I can't reach the vm to the vmbr1 from the Proxmox server.

    You can find attached the network diagram
     

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice