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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I installed Red Hat 7.3 last week and remember that I went through security settings. I chose for medium security and allowed html, ftp. I also remember that I was able to enter port numbers which I didn't do.
At the moment I am experimenting with a perl socket server. Locally everything works fine but I can not get access to the socket server from a remote system. I do get access to the html page with the embedded multi user application.
I think this has to do with a security issue.
My question is how can I get acces to the firewall settings and allow traffic on the port I am using?
I had a look at that page and tried to find more information about iptables and ipchains with examples of how to create a chain for what I need. Didn't find it so far.
Meanwhile I found the firewall configuration settings in KDE (system > firewall configuration).
If I go to the tab OPTIONS, "All" is selected for ICMP and the default policies for INPUT, FORWARD and OUTPUT are all set to ACCEPT.
Does this mean traffic is allowed on all ports and the problem I am having is caused by something else???
I tried to add a new rule to the configuration with the source and destination port set to the one I am using and the protocol set to TCP but it didn't allow me to leave the source IP and destination IP open (access for all users). The manual said to use * for this, although this worked for src device and dst device not for both ip's???
To eliminate possible causes of the problem, is there a simple way to test if traffic is accepted from the port I am using?
what is the code to add a chain saying that traffic from port x is accepted from all users in all directions (INPUT FORWARD OUTPUT).
Can't figure out how to open a specific port in firestarter. The only way must be somewhere in the firestarter firewall wizard when choosing advanced setup. But where? Is it at ToS filtering? Still no way to specify a port number!
Could anyone please direct me on how to open a port number?
I found the files, but as I am a newbie I have no idea what to change or add. I went carefully through the file firewall.sh but I didn't find anything on opening ports. The file allow-all is empty except line one (#!/bin/sh).
What should I add to this script to open all tcp traffic on for example port 10000?
To test to see if it is actually a firewall problem you should type "service ipchains stop" at a terminal. This will set all the firewall default rules to accept. If that works then you have a firewall problem for sure.