Skip to contentSkip to conversation

Iptables without ipt_state using xt_state

DISCUSSION FiloSottile 2 participants 2 messages Jan 13, 2010 – Jan 16, 2010

lore
Share & tools
lore
#0 lore raw

I cannot verify if the module is loaded from the config, but if it is loaded the command

# iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

should work...
So, if don't have that module loaded, how can i do to get a firewall configured?

Thank you

Signature · 5 lines
Filippo Valsorda                             FiloSottile@WikiMedia
Linux registered user #492189        Ubuntu registered user #27865
PADI Rescue Diver #0907EL9205    DAN ADV O2 Provider + BLS #281664
www.filosottile.info                      GPG [email protected]
Key fingerprint 94B6 85B2 AE48 1C47 BD4D  DC5B 16F3 ADA6 01A8 2A13
#1 lore raw
Quoted 8 lines · FiloSottile

I cannot verify if the module is loaded from the config, but if it is loaded the command

# iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

should work...
So, if don't have that module loaded, how can i do to get a firewall configured?

Patrick McHardy already pointed it out, but this may help to understand:

http://wiki.openvz.org/Setting_up_an_iptables_firewall

chapter:
'Setting up a firewall that allows per-container configuration '

Quoted 2 lines · If you can't do it, it comes down to what /dev/rob0 said:

I suspect that this comes down to being a support issue with your service provider. Did you ask them?

regards

Mart