Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I bought a new machine, so, what I did was save my current iptables using iptables-save and imported the rules into the new machine with iptables-restore command.

If I run iptables -L command in the new machine I can see all my rules, but if I open Gufw I can't see them.

Somebody can help me? nonox

share|improve this question
add comment

1 Answer

Gufw is a front-end for ufw, which in turn is a simple interface/front-end to iptables.

Gufw does not display your existing iptables rules because it is only designed to interpret the high-level ufw rules; it simply cannot parse the low-level iptables rules.

share|improve this answer
    
Thanks! You right, what I did was save my current ufw rules (/lib/ufw/user.rules) and copy them in my new machine and everything works fine! –  Nonox Aug 11 '12 at 15:55
    
Your welcome! Please accept the answer then! –  Bogie Aug 12 '12 at 5:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.