Hello everybody ! I have got a problem with port forwarding.
There is an Ubuntu 12.04 server, internal ip is: 10.10.10.2/30
There are 2 ports:
10.10.10.2:40000= Torrent client
10.10.10.2:28000= another service
If Torrent client’s 40000 port is enabled, another one is not working.
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.10.10.2 to-ports=28000 protocol=tcp dst-address=10.10.10.2 in-interface=ether1 ( WAN )
ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.10.10.2 to-ports=40000 protocol=tcp dst-address=10.10.10.2 in-interface=ether1 ( WAN )
I tried to fix it, but so far i could not