Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Currently my firewall is off because I don't know how to turn on 2700 when the port is open I will turn on firewall .If I write 2700 in other ports field will 2700 be open ? Before 1 month I try but the port was not open . I have only 1 last question will firewall reduce the load of the my server now mysql use many CPU % and I just don't know why ... Thanks in advance and sorry for my bad english .
Currently my firewall is off because I don't know how to turn on 2700 when the port is open I will turn on firewall .If I write 2700 in other ports field will 2700 be open ? Before 1 month I try but the port was not open . I have only 1 last question will firewall reduce the load of the my server now mysql use many CPU % and I just don't know why ... Thanks in advance and sorry for my bad english .
You could add it as "Other Port" in the GUI (system-config-securitylevel)
or
change your command to
Code:
iptables -A INPUT -i eth0 -p tcp --dport 2700 -m state -j ACCEPT
make sure there are no DROP rules before that newly added rule. if there are it might be worth using
iptables v1.3.5: You must specify `--state'
Try `iptables -h' or 'iptables --help' for more information.
When I run iptables -I INPUT -i eth0 -p tcp --dport 2700 -j ACCEPT . Again nothing when I go on firewall configuration in other ports shows me nothing and must be 2700 ...
I try with two codes but again when I go to Firewall Configuration Customize don't show me 2700 in Other ports . Maybe firewall must be turned on to be accepted or ?
In most linux distro's iptables is built into the kernel, any changes are dynamic so there is no need to reload/restart the service.
the changes a lost upon reboot unless an
Code:
iptables-save
is issued after the rule addition.
if /etc/sysconfig/iptables is edited, then the reboot works.
if the new rule is added in a command line then there is no need to reboot but the rule must be saved
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.