You are not logged in.

#1 2013-02-24 00:27:27

Registered: 2013-02-09
Posts: 490

Someone update iptables wiki entry?

i would do it myself but honestly i never have updated a wiki entry before, and i couldn't find any button that would let me do so.

this is what i'm referring to.

following the install steps

#pacman -S iptables


# systemctl enable iptables
# systemctl start iptables


# systemctl start iptables

i ran into an error, the problem was that i needed to do

# iptables-save > /etc/iptables/iptables.rules
and for ip6tables
# ip6tables-save > /etc/iptables/ip6tables.rules

With some googling (and also mentioned in the wiki entry, but not as a part of the installation) i found out about the former command, but i had to guess with the ip6tables and luckily it seems to have worked.

someone should add these commands to the installation part of the iptable wiki entry.

Last edited by rabcor (2013-02-24 01:20:48)


#2 2013-02-24 03:26:28

From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Someone update iptables wiki entry?

I don't think so.  You read through the first few lines and just kind of blindly put the commands listed into your machine.  But what good does starting iptables do if you have no configuration for it?  If you read further, it gives a brief intorduction on how to set it up, and included in that portion is

Arch Wiki wrote:

For systemd users, after adding rules via command-line: # iptables-save > /etc/iptables/iptables.rules
Finally: # systemctl restart iptables
And to ensure there were no problems: $ systemctl status iptables

I think it is fine as it is.


Board footer

Powered by FluxBB