Join the community today
Register Now

Installing under eth2?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by joshuah, Apr 21, 2017.

  1. joshuah

    joshuah Member

    115
    14
    18
    Apr 3, 2017
    Ratings:
    +16
    Local Time:
    4:39 PM
    Hello,

    Running into quite a few issues after installing. My public interface is under eth2. eth0 and eth1 are not public facing. Will this matter for incoming connections?

    I cant seem to establish a connection with nginx, telnet host 80 is connection refused.

    Running the latest BETA.
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,533
    Local Time:
    4:39 PM
    Nginx 1.13.x
    MariaDB 5.5
    which web host has that type of network NIC config ? if you have the option to, you can configure public NIC on eth0 instead ?

    what's output for command you can mask or replace ips
    Code (Text):
    ifconfig
    


    that might be problematic CSF Firewall config file /etc/csf/csf.conf has settings that might be related
    Code (Text):
    ###############################################################################
    # SECTION:General Settings
    ###############################################################################
    # By default, csf will auto-configure iptables to filter all traffic except on
    # the loopback device. If you only want iptables rules applied to a specific
    # NIC, then list it here (e.g. eth1, or eth+)
    ETH_DEVICE = ""
    # By adding a device to this option, ip6tables can be configured only on the
    # specified device. Otherwise, ETH_DEVICE and then the default setting will be
    # used
    ETH6_DEVICE = ""
    # If you don't want iptables rules applied to specific NICs, then list them in
    # a comma separated list (e.g "eth1,eth2")
    ETH_DEVICE_SKIP = ""
    


    from https://download.configserver.com/csf/readme.txt
     
  3. joshuah

    joshuah Member

    115
    14
    18
    Apr 3, 2017
    Ratings:
    +16
    Local Time:
    4:39 PM
    Code:
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    
            inet 192.168.0.30  netmask 255.255.255.255  broadcast 0.0.0.0
    
            inet6 xxxxxxx  prefixlen 64  scopeid 0x20<link>
    
            ether xxxxxxx  txqueuelen 1000  (Ethernet)
    
            RX packets 26895  bytes 170474791 (162.5 MiB)
    
            RX errors 0  dropped 0  overruns 0  frame 0
    
            TX packets 27810  bytes 13336599 (12.7 MiB)
    
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    
    
    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    
            inet 10.0.0.30  netmask 255.255.255.0  broadcast 10.0.0.255
    
            inet6 xxx::216:xxxx  prefixlen 64  scopeid 0x20<link>
    
            ether xxxxx  txqueuelen 1000  (Ethernet)
    
            RX packets 13  bytes 832 (832.0 B)
    
            RX errors 0  dropped 0  overruns 0  frame 0
    
            TX packets 3  bytes 258 (258.0 B)
    
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    
    
    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    
            inet xxxxxx  netmask 255.255.255.255  broadcast xxxxx
    
            inet6 fe80::xxxx prefixlen 64  scopeid 0x20<link>
    
            ether xxxxx  txqueuelen 1000  (Ethernet)
    
            RX packets 3240  bytes 226121 (220.8 KiB)
    
            RX errors 0  dropped 0  overruns 0  frame 0
    
            TX packets 1754  bytes 150774 (147.2 KiB)
    
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    
            inet 127.0.0.1  netmask 255.0.0.0
    
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
    
            loop  txqueuelen 1  (Local Loopback)
    
            RX packets 14  bytes 1520 (1.4 KiB)
    
            RX errors 0  dropped 0  overruns 0  frame 0
    
            TX packets 14  bytes 1520 (1.4 KiB)
    
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
     
  4. joshuah

    joshuah Member

    115
    14
    18
    Apr 3, 2017
    Ratings:
    +16
    Local Time:
    4:39 PM
    It is a custom setup, with NFS mounted storage.
     
  5. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,533
    Local Time:
    4:39 PM
    Nginx 1.13.x
    MariaDB 5.5
    have you checked the logs for clues in /var/log/lfd.log and /var/log/messages grep filter on your isp ip address used to connect to vhost site on port 80 and see