Computing.Net > Forums > Networking > blocking port in Linux and Solaris

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

blocking port in Linux and Solaris

Reply to Message Icon

Name: nitinku5021a
Date: January 4, 2005 at 05:17:49 Pacific
OS: RH9 and Solaris 9
CPU/Ram: P III / 128 mb
Comment:

hi all,
my problem is...i m using LAN and to use proxy server , i used some C programs to open some port on a remote PC of the OS and system type is mentioned. well the ports opened..the thing is..now i want to close those port and i cant reboot those remote PCs.
to give u proper idea..what i m doing right now..
lets say : my computer ( say ) :A
remote PC :B
proxy Server :C
u can say why i m not using directly those proxy server...its bcz the proxy server refuses connection from my computer ( A ).
so what i m doing is..
the connection goes like this..
A<-------->B<--------> C.
and in computer B , i have opened those ports which listens to my computer...
so please help me to close those ports.
thanx in advance.
nitin

Know me Know Life No Me No Life



Sponsored Link
Ads by Google

Response Number 1
Name: briantech
Date: January 4, 2005 at 07:26:34 Pacific
Reply:

use iptables.

http://www.linuxguruz.com/iptables/


0

Response Number 2
Name: nitinku5021a
Date: January 4, 2005 at 08:36:05 Pacific
Reply:

it needs root acess to modify iptable...and as far as i think...thr shudnt be any entry in the iptables..bcz just i m opening one port with one program...which wont run as soon as the machine reboots...n then too ..to open port i dont need root acess...then is thr no way to close it or to redirect it to some other address..
thanx
nitin

Know me Know Life No Me No Life


0

Response Number 3
Name: briantech
Date: January 4, 2005 at 12:22:42 Pacific
Reply:

For what you want to do , you need root access.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Update: flickering link l... New Dlink router Can't se...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: blocking port in Linux and Solaris

Finding Blocked ports in my solaris www.computing.net/answers/networking/finding-blocked-ports-in-my-solaris/9500.html

hlp me i wnt to block port 5000 ??? www.computing.net/answers/networking/hlp-me-i-wnt-to-block-port-5000-/15588.html

Block port 80/allow email,possible? www.computing.net/answers/networking/block-port-80allow-emailpossible/26280.html