Re: IPSET persistence on Ubuntu 16.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/01/2018 23:20, Oliver O'Boyle wrote:
Hello,

Just started using IPSet on Ubuntu 16.04. After reboot, my set
disappeared and my ip6tables config vanished, leaving my fw wide open
with default rules. OUCH.

What's the proper way to do IPSet persistence on Ubuntu 16.04?

Oliver


either create a script that you call from /etc/network/interfaces ie

up /full/path/script

that has your ipset commands

or just put the ipset stuff into interfaces file

auto eth0
iface eth0 inet static
	address x.x.x.x
	netmask x.x.x.x
	up ipset xxxxxx
	up ipset xxxxxx


--
Thank you,

Mark Adrian Coetser
mark@xxxxxxxxxxxx

What causes the mysterious death of everyone?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux