Hi Jing,

iptables does not work in lx branded zones, it probably never will.
You have to use the 'native' firewall instead, the command to use it is ipf.

(I'm on mobile so sorry for being very terse)

Regards

Jorge

On 2016-03-10 10:15, 王靖 wrote:

Hi All
Recently, I meet a issue in SmartOS(build: 20160121T174331Z) lx branded zone(UUID d5b3865c-0804-11e5-be21-dbc4ce844ddc) command iptable, this lx branded zone is CentOS 6.6. I want to build a firewall in it but I can not succeed.
Then I use the command

#iptables -F
iptables v1.4.7: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

# lsmod | grep ip_tables
There is no output of this command.

I suspect lx branded zone doesn't have some modules that are used for iptables. Is there any way for me to build a firewall in it? Thanks very much.

Thanks
Jing
Briphant Technologies Co.,Ltd

SMARTOS-DISCUSS | Archives | Modify Your Subscription


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to