Results 1 to 2 of 2

Thread: UFW interfering with my LXC containers

  1. #1
    Join Date
    Jan 2013
    Beans
    10

    Question UFW interfering with my LXC containers

    Hi,

    as soon as I enable the UFW firewall with one simple rule (allow tcp/22), my LXC containers can no longer aqquire IP addresses via DHCP (through the lxc-bridge). Any hints?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Minnesota, USA
    Beans
    7
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: UFW interfering with my LXC containers

    Just a guess,

    sudo nano /etc/default/ufw
    ----
    # Change:
    # DEFAULT_FORWARD_POLICY="DROP"
    # to
    DEFAULT_FORWARD_POLICY="ACCEPT"

    Then restart ufw

    I am basing this off http://docs.docker.io/en/latest/inst...#ubuntu-raring which says that the forward policy is not setup correctly by default for lxc.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •