P2P lowid

i’ natting my user and they get a lowid in theirs P2P connections

any one can i help me to do that they can get High id?

what i can i do?


my enviroment

2 wan conecctions
192.168.0.3 gateway
200.68.9.8 gateway

1 LAN
10.0.0.82


users 10.0.0.0/24

thanks jose nazareno

you have to give them public IPs or something which will make up for public IP. They will then become supernodes and will:

a) heavily load your internet connection and connection tables on routers (forget about using v2.9.6)
b) have higher IDs.

Hello,
you can resolve it, ommiting public addresses assignment,
by creating a dst-nat rule in /ip firewall nat section


add chain=dstnat dst-address=x.x.x.x action=dst-nat
to-addresses=y.y.y.y to-ports=zzzz comment=“” disabled=no

where:

x.x.x.x is your public IP (of your uplink)

y.y.y.y is destination private address, that needs to mapped to your uplink

zzzz is dst-port of private machine, that uses it for connecting to ed2k servers

so in your case, it should look like this:

add chain=dstnat dst-address=200.68.9.8 action=dst-nat
to-addresses=10.0.0..2 to-ports=56765 comment=“” disabled=no


notes:

please change tcp/udp default port for each of your clients,
so you have to create rule twice (one for tcp, second for udp)

This solution applies for 2-3 users,

otherwise you should reckon about assigning public IPs.

And last thing, as my preceding speaker mentioned:
you will have to shape your bandwidth, by simple queues,
and with queue trees.

Regards,

Stoned.

i want to do that i want to assing a ip public to a cople of machines behind of my router but i dont know how can i do it..

a have 2 publiscs ip to assign 200.68.9.9 and 200.68.9.10 for this example…


thanks