Solved

Blocking a Port on UNIX

Posted on 2000-08-06
2
224 Views
Last Modified: 2010-04-02
Hi,

Can i block any of the port as per my requirements to be blocked for everybody in UNIX/Linux.
0
Comment
Question by:srinivas_rc
2 Comments
 
LVL 4

Expert Comment

by:saurabh_dasgupta
Comment Utility
What do you mean by blocking ?

Are you saying that you want to run a particular service at some exclusive port number ? Just like how Telnet runs on 23 and HTTP runs on 80 ..??
0
 
LVL 1

Accepted Solution

by:
Ries earned 50 total points
Comment Utility
Dependinf on you kernel you should use ipfwadm or ipchains.
I think 2.0.x kernels have already the ability to use ipchains. Take a look at the docs they are well documented.
man ipfwadm or man ipchains will give you the answers. If you need a sample, just lett me know. I did setup a firall at our office using ipfwadm on a Linux machine

Ries
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now