- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to Block a port for localhost
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 02:53 AM
тАО02-16-2010 02:53 AM
How to Block a port for localhost
I have certain ports blocked on the Intranet Firewall, so that no body from outside could connect to server.
But I can connect localhost through that (telnet localhost
Best Regards
Arun Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 03:39 AM
тАО02-16-2010 03:39 AM
Re: How to Block a port for localhost
and than run inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 03:46 AM
тАО02-16-2010 03:46 AM
Re: How to Block a port for localhost
you can use /var/adm/inetd.sec to "deny" telnet
man inetd -> for more information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 05:46 AM
тАО02-16-2010 05:46 AM
Re: How to Block a port for localhost
Just wanted to point this:
>to block or unblock you can use etc/services /etc/inetd.conf file
From man page:
"The inetd daemon is the Internet superserver, which invokes Internet server processes as needed"
Along with other stand-alone daemons, the
To block a port you must use a firewall rule on the server. In order to stop the process(es) you modify the inetd.conf file. But this means that the processes will be dead after removing the corresponding line from inetd configuration file (and of course restarting the inetd daemon). Dead processes do nothing for anyone regardless the location from where he would want to access that process(es) - localhost or not.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 06:38 AM
тАО02-16-2010 06:38 AM
Re: How to Block a port for localhost
Which port are you trying to block? (I
assume that, when you say "block/disable the
port", you really wish to disable one or more
_services_.)
> to block or unblock you can use
> etc/services /etc/inetd.conf file
PLEASE give "/etc/services" a rest. Editing
it is more likely to cause trouble than to do
anything useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:27 AM
тАО02-16-2010 09:27 AM
Re: How to Block a port for localhost
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
