Announcement

Collapse
No announcement yet.

Linux firewalls on Hyper-V can't connect to external network

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

  • Linux firewalls on Hyper-V can't connect to external network

    I have a Hyper-V server at a data center (collocated) on which I'm trying to install a Linux firewall to handle security and simple port forwarding.

    - I'm using a legacy network adapter
    - I have checked with the hosting company: IP address, mask, broadcast and gateway all correct.
    - My internal (green) virtual network is working flawlessly on 10.0.0.10 (255.0.0.0), no physical NIC
    - My external (red) isn't working. I can ping to it from my hyper-v on same subnet but I can't ping anything from it (it can ping its own public IP). It's on IP XX.XX.107.61 (255.255.255.128 ) with broadcast XX.XX.107.127 and gateway XX.XX.107.1
    - I've also tried Smoothwall, Edian, Monowall, Ubuntu ... all same result

    Any ideas?
    Last edited by sorinso; 26th March 2010, 19:32. Reason: real IPs removed ...

  • #2
    Re: Linux firewalls on Hyper-V can't connect to external network

    Have you tried disabling the Firewall on the host, on the specific NIC? Just to be certain it does not interfere...

    Sorin Solomon


    In order to succeed, your desire for success should be greater than your fear of failure.
    -

    Comment


    • #3
      Re: Linux firewalls on Hyper-V can't connect to external network

      No I haven't tried that. To be honest I would be quite uncomfortable doing it (i.e. opening such a big security hole). Can you suggest anything that I should open up instead of opening everything?

      Additional info: All my Windows VMs are capable of connecting to the web if I enable the WAN NIC on them. Is the same physical NIC, there are only two differences as far as I can see:
      1. The problem lies with Linux (all Windows work).
      2. The Linux VMs all use the legacy network adapter, the Windows all use the synthetic

      Comment


      • #4
        Re: Linux firewalls on Hyper-V can't connect to external network

        I suggested to disable the firewall only to test if there lies the issue, not to leave it like that ...
        Windows machines can use legacy adapters also (in certain scenarios is even recommended to do so), so that should not be the problem.
        Do you by any chance have a Windows VM on the same host? Does it ping properly?
        I am not a Linux specialist, so cannot tell you what should be done if the issue indeed lies within the Linux...

        Sorin Solomon


        In order to succeed, your desire for success should be greater than your fear of failure.
        -

        Comment


        • #5
          Re: Linux firewalls on Hyper-V can't connect to external network

          I'll try dropping the firewall just to test.

          Yes, I do have various Windows VMs. I have a Windows2003 with external NIC enabled and it can ping the IPCop IP without any problem. The hyper-v can also ping it. Both hyper-v and my Windows2003 can ping to the outside.

          Comment

          Working...
          X