LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-20-2004, 06:11 AM   #1
bob4432
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Question Allowing Data on Certain Ports


on eth0, how can i limit what goes out on what port? is there some where that i can say something like on eth0 no tcp/upd from port x -> x?

thanks
 
Old 07-20-2004, 06:21 AM   #2
radam
Member
 
Registered: Jun 2004
Distribution: Mandrake 10.0/Fedora Core 2
Posts: 31

Rep: Reputation: 16
Hi,
for this you can use iptables. This determines what can go in and out on each port for each interface for each protocol (if you see what I mean). An easy way to configure this is to use webmin (www.webmin.com). Also, a quick google seach for "iptables howto" gives some handy results.

I hope this helps!

Radam
 
Old 07-20-2004, 01:30 PM   #3
bob4432
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
thanks, i will give it a try
 
  


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
Allowing non-root to bind to ports < 1024? MWTJ Linux - Networking 8 08-12-2011 07:06 PM
blocking and allowing ports drumlix18 Linux - Networking 4 11-30-2004 06:36 PM
Allowing Outgoing ports in Smoothwall 0.9.9 AndyShark Linux - Security 2 10-06-2002 08:07 AM
Allowing outgoing ports in Smoothwall 0.9.9 AndyShark Linux - Networking 3 10-05-2002 05:56 AM
iptables -> Having a problem just allowing ports 25,110,22 ForumKid Linux - Security 6 01-03-2002 10:10 AM

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

All times are GMT -5. The time now is 10:38 AM.

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