Community discussions

MikroTik App
 
User avatar
kapulan
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Tue Feb 07, 2006 7:48 pm
Location: Hungary

port forward all network users!how to?

Tue Feb 07, 2006 8:11 pm

Hello!
A have little problem!My network is connected 15 local lan users!How to forward all users the 6881 bitorrent port?The Dst address ist to receive the dhcp server automatice.My local lan have static ip address.How to forward all users the bitorrent port?
Am sorry not write good english!
Thank you for your help in advance!
 
Borage
Member Candidate
Member Candidate
Posts: 170
Joined: Sun Sep 26, 2004 10:19 pm

Tue Feb 07, 2006 8:39 pm

You cannot forward port 6881 to all 15 computers, only one computer.
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Tue Feb 07, 2006 10:19 pm

Mnaaah just use UPnP - start the UPnP service on the local interface on MT and enable UPnP on all 15 BitTorrent client applications. If UPnP is not supported try another client like uTorrent that supports it. NOT TESTED


or if want to do it the oldschool way:

You'll have to set up each puter to use a different outgoing port and write it down. Then on MT forward each port you wrote down to the puter thats using it. How to forward a port this way is described in the manual.
The server's address is now 192.168.0.4, and we are running web server on it that listens to the TCP
port 80. We want to make it accessible from the Internet at address:port 10.0.0.217:80. This can be
done by means of Static Network Address translation (NAT) at the MikroTik Router. The Public
address:port 10.0.0.217:80 will be translated to the Local address:port 192.168.0.4:80. One
destination NAT rule is required for translating the destination address and port:
[admin@MikroTik] ip firewall nat> add chain=dstnat action=dst-nat protocol=tcp
dst-address=10.0.0.217/32
dst-port=80 to-addresses=192.168.0.4
[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=dstnat dst-address=10.0.0.217/32 protocol=tcp dst-port=80
action=dst-nat to-addresses=192.168.0.4 to-ports=0-65535
Where you add as much as these rules as you need, change port 80 to whatever port you wrote down for each puter and IP address 192.168.0.4 to each IP of your 15 machines. 10.0.0.217->replace this with your gateway IP address or leave IP address fielt blank if you setup the rule for the public interface.... Consult the manual if confused.
Last edited by dot-bot on Wed Feb 08, 2006 7:28 pm, edited 2 times in total.
 
User avatar
raulborda
just joined
Posts: 11
Joined: Tue Nov 01, 2005 8:57 pm
Location: Argentina
Contact:

Re: port forward all network users!how to?

Wed Feb 08, 2006 1:08 am

Hello!
A have little problem!My network is connected 15 local lan users!How to forward all users the 6881 bitorrent port?The Dst address ist to receive the dhcp server automatice.My local lan have static ip address.How to forward all users the bitorrent port?
Am sorry not write good english!
Thank you for your help in advance!
This is imposible to do. What is the porpouse for this?.
When you redirect the 6881 port to a lan client, is imposible redirect the same port for another client.
 
User avatar
djape
Member
Member
Posts: 465
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Wed Feb 08, 2006 4:27 pm

He is trying to make upload on torrents to work faster :D
Don't worry about stupid torrent clients that offer you to test connection, just leave it as it is....

Cheers....
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Wed Feb 08, 2006 7:33 pm

Leave what as it is ?

DO NOT leave torrent clients incapable of opening a port.
 
User avatar
djape
Member
Member
Posts: 465
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Thu Feb 09, 2006 5:26 pm

Hey!

You can use torrent with masquarading only!

So don't touch anything as I said, I NEVER said he should block those ports...
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Sun Feb 12, 2006 7:35 pm

kapulan, if your 15 users are behind a NAT do what I said in my first post and thats it. If they have real internet IP addresses, you most probably do not have to change anything. Opening a port will then be a matter of firewall configuration, seeing if firewall is turned on for all ports.... Maybe firewall apps on client puters...
 
User avatar
djape
Member
Member
Posts: 465
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Sun Feb 12, 2006 9:21 pm

Hey dot-bot, you wanna fight with me ? :D
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Sun Feb 12, 2006 9:37 pm

Your tips can not be understood or are simply not true. Try explaining more in plain English what are you trying to say here or where do we fail to understand each other.
 
User avatar
djape
Member
Member
Posts: 465
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Sun Feb 12, 2006 11:57 pm

I wanted to say that he should just use masquarade and torrents will work without any problem for as much pc's as he want- nothing more.
 
User avatar
kapulan
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Tue Feb 07, 2006 7:48 pm
Location: Hungary

Sun Feb 19, 2006 7:10 pm

Hey!

You can use torrent with masquarading only!

So don't touch anything as I said, I NEVER said he should block those ports...

How can you make the masquarading?
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Sun Feb 19, 2006 10:39 pm

Hey!

You can use torrent with masquarading only!

So don't touch anything as I said, I NEVER said he should block those ports...

How can you make the masquarading?
ip firewall nat add chain=srcnat src-address=(your lan) action=masquerade
Regards....
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Mon Feb 20, 2006 12:03 am

@djape

Do you want to say that masquerade works better than src-nat regarding torrent clients?

I mean are there any differences between

chain=srcnat out-interface=link action=masquerade

and

chain=srcnat out-interface=link action=nat to-addresses=x.y.z.w

in this manner? I know other differences between these two, but I was not aware of torrent clients related differences.

@all

I use masquerade form of NAT and Shareaza works better if I dst-nat some port from WAN interface with public IP to some machine on local network. But, if you need to support many machines with torrent clients this way, I supose UPnP is the best solution, although I haven't tried it in my network because P2P software can just make bandwidth problems and I don't want to courage my users to use it a lot.
 
User avatar
djape
Member
Member
Posts: 465
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Tue Feb 21, 2006 1:08 am

@djape

Do you want to say that masquerade works better than src-nat regarding torrent clients?

I mean are there any differences between

chain=srcnat out-interface=link action=masquerade

and

chain=srcnat out-interface=link action=nat to-addresses=x.y.z.w

in this manner? I know other differences between these two, but I was not aware of torrent clients related differences.
No, it doesn't make any difference, it's just working the same using masquarade or with src-nat and dst-nat. I tried it myself and there is no difference. I have whole subnets using torrents with masquarade without problem.

Cheers...

Who is online

Users browsing this forum: AquaL1te2, moonrocks, psw, sk0003, TFrench and 62 guests