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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-08-2005, 11:22 AM
|
#1
|
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
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
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
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: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
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
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
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. 
|
|
|
All times are GMT -5. The time now is 01:57 PM.
|
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
|
|