LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2003, 03:02 PM   #1
synecdoche
Member
 
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148

Rep: Reputation: 15
IPTables and mldonkey


I am using IPtables as my firewall. I have done no customizing to it-- basically I used Jamd Linux (RH9)'s standard settings for high security and without any kind of server support.

However, I've found that now that I want to run a P2P filesharing program (mldonkey and xmule) I am unable to do anything with them. I believe that this is because the ports they are trying to access are closed.

Is there a simple way to tell my distro to open up the necessary ports when i start the program, and then close them again when i am done?

Thanks,
dave
 
Old 08-06-2003, 12:21 AM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
You do not tell your distro anything.

You tell the operating system.

So the simple way to do it, is to create a shell script which contains

#! /bin/sh
1) run rules to open the ports
2) run Xmule or mlnet+gui
3) run rules to close the ports
4) exit 0

chmod 700 name_of_shell_script

and away you go.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
using mldonkey ankscorek Linux - Software 5 05-19-2005 02:27 AM
mldonkey... Linux~Powered Linux - Software 3 06-10-2004 09:44 PM
mldonkey Mugatu Linux - Software 2 01-29-2004 10:51 AM
mldonkey doralsoral Linux - Software 3 01-13-2004 10:15 AM
mldonkey crashmeister Linux - Software 2 10-13-2002 04:39 PM


All times are GMT -5. The time now is 05:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration