Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-08-2005, 11:22 AM
|
#1
|
|
Senior Member
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,888
Rep:
|
iptables rules for emule in nat box
What are the rules I have to set in a NAT router that will be use to connect many clients to emule?
My default FORWARD policy is DROP... and don't intend to change it.
There are three boxes that will connect to the emule network.
And what will the configuration of the clients be?
|
|
|
|
08-08-2005, 01:23 PM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
You will not be able to have them all exposed to the internet unless you set them up to use different port ranges on the client. Then you'll need to port forward the ports on your NAT box to the appropriate clients.
|
|
|
|
08-08-2005, 09:24 PM
|
#3
|
|
Senior Member
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,888
Original Poster
Rep:
|
you mean to NOT get a low ID.... I don't care if it's low ided. What are the rules I have to set?
|
|
|
|
08-08-2005, 09:37 PM
|
#4
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Ah, you mean for outbound? In that case, you need to allow outbound tcp ports 4661 and 4662, and udp port 4665. For example, if eth0 is your internal interface:
Code:
export INTIF="eth0"
iptables -A FORWARD -i $INTIF -p tcp --dport 4661 -j ACCEPT
iptables -A FORWARD -i $INTIF -p tcp --dport 4662 -j ACCEPT
iptables -A FORWARD -i $INTIF -p udp --dport 4665 -j ACCEPT
That SHOULD work. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:16 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|