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
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
тАО07-03-2007 08:12 PM
тАО07-03-2007 08:12 PM
ports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2007 08:17 PM
тАО07-03-2007 08:17 PM
Re: ports
iptables -A INPUT -s
example
iptables -A INPUT -s 192.168.0.10 -p tcp --dport 25 -j DROP
This drops port 25 (smtp) traffic for host 192.168.0.10
Once you are happy with the rules.
service iptables save
Makes them permanent in /etc/sysconfig/iptables
You'd better get a handle on what ports you need open before doing this.
netstat -an | grep LISTEN
Just because the service is listening however does not mean you want to authorize it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2007 08:50 PM
тАО07-03-2007 08:50 PM
Re: ports
actually i have to open port, my services use call back routine , which picks up any port
if i use this rule , is it safe , or is there any better way of doing it.
$IPTABLES -A INPUT -p tcp --dport 1024:65535 -j ACCEPT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2007 08:34 PM
тАО07-04-2007 08:34 PM
Re: ports
Can somebody suggest me how to add entry in iptables to accept connection for all the ports
Please tell me if u need more information
regards
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 05:46 AM
тАО07-06-2007 05:46 AM
Re: ports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 09:59 AM
тАО07-06-2007 09:59 AM
Re: ports
If you want to allow access from any host to any port turn off iptables because you're trying not to use it.
If you have an application that requires random ports from an uncontrolled range you will not be able to run it through a normal firewall and you should talk to your vendor about it.