Re: How can I enable ufw firewall tool with an existing set of iptables rules?

2017-08-28 Thread Tom Browder
On Mon, Aug 28, 2017 at 15:54 Joe wrote: ... I confess to no specific knowledge here, but I suspect none of the > firewall front-ends will accommodate an arbitrary iptables ruleset, as > the front-ends impose their own structure which would almost certainly > conflict. >

Re: How can I enable ufw firewall tool with an existing set of iptables rules?

2017-08-28 Thread Tom Browder
On Mon, Aug 28, 2017 at 15:49 Alexander V. Makartsev wrote: > Smart way to do it is to setup a cron job to run shell script that will > flush (or restore to default working ruleset) iptables rules every 10 > minutes. Thanks, Alexander. -Tom

Re: How can I enable ufw firewall tool with an existing set of iptables rules?

2017-08-28 Thread Joe
On Mon, 28 Aug 2017 20:01:54 + Tom Browder wrote: > Installing and enabling ufw sounds easy, but how is the existing set > of iptables rules treated? I want to use ufw on a remote server and > losing ssh would be disastrous! > I confess to no specific knowledge

Re: How can I enable ufw firewall tool with an existing set of iptables rules?

2017-08-28 Thread Alexander V. Makartsev
Smart way to do it is to setup a cron job to run shell script that will flush (or restore to default working ruleset) iptables rules every 10 minutes. With this approach, even if you mess up your iptables rules and loose ssh, you can simply wait for 10 minutes and reconnect to ssh. Take your time

How can I enable ufw firewall tool with an existing set of iptables rules?

2017-08-28 Thread Tom Browder
Installing and enabling ufw sounds easy, but how is the existing set of iptables rules treated? I want to use ufw on a remote server and losing ssh would be disastrous! Thanks. -Tom