LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 10-08-2004, 01:54 PM   #1
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Question LimeWire P2P and ipTables (Restrictive Firewall)


i'm looking for a good iptables rule (or set of rules) for letting limewire access the internet (from the LAN) when the policy is DROP...

i've tried stuff like this:

Code:
$IPT -A FORWARD -p TCP --dport 6346 -m state --state NEW -j ACCEPT
it works, but since anybody can make limewire listen on any port they want, i am VERY limited...

allowing all outgoing packets destined to non-privilaged ports isn't an option, as that would defeat the purpose of having a restrictive firewall...

so i'm trying to match the packets by source port range... something like:

Code:
$IPT -A FORWARD -p TCP --sport foo:bar -m state --state NEW -j ACCEPT
does anyone know limewire's source port range??

or perhaps a better way to go about this??

=)
 
Old 10-09-2004, 03:31 PM   #2
tuxq
Member
 
Registered: Feb 2003
Location: USA
Distribution: Slackware-current
Posts: 47

Rep: Reputation: 15
My guess on this is that you're trying to limit outgoing connections as well as incoming ...
Well there is one way to do what you want without bothering other people about their ports...
Use an application gateway (proxy) ...
that's the easiest way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limewire P2P carlosinfl Slackware 14 06-14-2005 02:52 AM
P2P for linux? (anything but limewire) pharmd Linux - Software 8 05-25-2005 11:09 PM
please let me know a few good p2p clients other than limewire ur-unholyness Linux - General 1 10-17-2004 05:14 PM
Sendmail + restrictive iptables = headache flp Linux - Security 5 09-09-2004 06:35 PM
Best P2P client other than Limewire... AMDPwred Linux - Software 1 10-01-2002 10:10 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration