Results 1 to 2 of 2

Thread: Backing up/exporting ufw rules

  1. #1
    Join Date
    Jun 2012
    Beans
    182

    Backing up/exporting ufw rules

    Hi there,I'd like to get advice about the best way to export ufw rules from one installation to another,according to this bug report https://bugs.launchpad.net/ufw/+bug/916961/comments/1
    this would be copying /lib/ufw , /etc/ufw and /etc/default/ufw .
    I've done this and it works - well sort of...
    Rules are working in the new installation,but I have to disable logging or it will throw errors when activating the firewall,with logging disabled everything is OK,I can enable/disable/reload the firewall at will,not so with logging on:any ideas on what may cause this issue with logging ?
    Also,are there other ways to backup/export these firewall rules ?

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    14,705
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Backing up/exporting ufw rules

    Thread moved to Security Discussions.

Tags for this Thread

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
  •