Re: my iptables setting not loaded after reboot in fc5

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

 



Here's what I did to insert a rule (using a minimal install of FC4 to set up a 
subversion server):-

To open port 10000 for WebMin without nice graphical tools the following 
worked for me:-

Add accept port 10000 rule to firewall:-

Get a list of the current rules
iptables -t filter -L --line-numbers

Insert the rule before the last rule
iptables -I RH-Firewall-1-INPUT 10 -j ACCEPT -p tcp -m state --state 
NEW --dport 10000
there were 10 rules already in use in this case

Configure iptables to save rule set upon restart
vim /etc/sysconfig/iptables-config
replace "no" with "yes" in line
IPTABLES_SAVE_ON_RESTART="no"

do
service iptables restart

put
IPTABLES_SAVE_ON_RESTART="no"
back to "yes"

shutdown -r now

and
iptables -t filter -L --line-numbers
to make sure it worked.


Any help to you?

Dave Fletcher

-- 
Registered Linux user number 393408

I use and recommend the email service at 1 & 1
For domain registration, email and web hosting please visit:
http://oneandone.co.uk/xml/init?k_id=6389763

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux