LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2008, 02:21 PM   #1
shtorrent00
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
open ports for utorrent using iptables n close smpt to that ports


hello n thanks for keeping this forum alive.

I know how to open ports for utorrent using iptables, the
problem is that I want to close smtp conections to that port.
can that be done ?
thanks in advanced
 
Old 09-30-2008, 11:57 AM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Your question is not clear to me...
Are you receiving smtp packets on the port you configured for utorrent?

In general you can drop smtp packets filtering the standard smtp port like this:

Code:
iptables -A <YOURCHAIN> -p TCP --dport smtp -j DROP
but if you are using the standard smtp port for utorrent, this will drop all packets.

There are some excellent HOW-TOs at www.netfilter.org
 
Old 09-30-2008, 03:34 PM   #3
shtorrent00
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by niels.horn View Post
Your question is not clear to me...
Are you receiving smtp packets on the port you configured for utorrent?

In general you can drop smtp packets filtering the standard smtp port like this:

Code:
iptables -A <YOURCHAIN> -p TCP --dport smtp -j DROP
but if you are using the standard smtp port for utorrent, this will drop all packets.

There are some excellent HOW-TOs at www.netfilter.org
thank you for your reply,

I want to open a port to use utorrent, but I dont want other trafic through that port except utorret's.
thanks again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to close open ports glorsplitz Linux - Networking 3 09-30-2006 10:10 AM
How do I close open ports ??? apache Linux - Security 2 07-20-2004 07:44 PM
Which ports should I keep open and which close?? apache Linux - Security 3 07-19-2004 08:31 AM
how to close open ports mayagenesis Linux - Networking 1 07-31-2003 12:47 AM
How do i close my open ports??? Synth218 Slackware 10 07-06-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration