LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Open PORT 2095 IN linux (https://www.linuxquestions.org/questions/linux-newbie-8/open-port-2095-in-linux-865633/)

lotus01 02-28-2011 11:34 PM

Open PORT 2095 IN linux
 
How We can Open PORT 2095 IN linux

corp769 03-01-2011 01:37 AM

Hello and welcome to LQ!

Please consult to reading the documentation of iptables, using "man iptables" and possibly searching online, especially before you go posting threads. We are here to assist you, not do everything for you. That being said, I will point you in the right direction and give you an example, but next time, please search before you post threads.

Code:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 631 -j ACCEPT
I have taken this segment from my custom iptables configuration. Pretty much what this does is open port 631 for tcp type packets, and accepts the packets when they are new connections coming in. You would need to configure this to open the port on your system. Good luck with learning and searching.

Cheers,

Josh

JZL240I-U 03-01-2011 01:39 AM

Welcome to LQ.

Start YAST and go to the section firewall :p.

Answer didn't really help? Dear lotus01 we do have a user panel, where you can put in all the nifty details of your machine, distribution and firewall. Alternatively you can fill us in in every thread you create (or in your signature), but please give some more information to enable us to help :).

repo 03-01-2011 02:44 AM

Port 2095 is for webmail.
Do you want to open it outgoing or incoming?
Do you want to open the port on your own system, or are you behind a company firewall?
For your own system to open port 2095 incoming you can use iptables like corp769 suggested.
When you are behind a company firewall, and want to open the port outgoing, talk to the IT people.

Kind regards


All times are GMT -5. The time now is 09:28 PM.