hi guys
I’m trying to over rule emule connection on this firewall rules, but every emule server’s port is different and I don’t know how to stick emule to one connection only on top of the list.
in fact it is suppose to work when I do the DSNAT to workstation IP addres, but my first and second connection to this router is already behind NAT and translated and emule seems to be rejecting double natted network thats’ why I want emule to only connect to third single natted connection.
thanks
0 ;;; mangle new connection as 'EVEN'
chain=prerouting in-interface=LAN protocol=tcp dst-port=!80
connection-state=new nth=2,3,0 action=mark-connection
new-connection-mark=even passthrough=yes
1 ;;; mark packets to route 'EVEN'
chain=prerouting in-interface=LAN protocol=tcp dst-port=!80
connection-mark=even action=mark-routing new-routing-mark=even
passthrough=no
2 ;;; Mangle New Connection as ODD
chain=prerouting in-interface=LAN protocol=tcp dst-port=!80
connection-state=new nth=2,3,1 action=mark-connection
new-connection-mark=odd passthrough=yes
3 ;;; Routing mark on marked package with 'ODD'
chain=prerouting in-interface=LAN protocol=tcp dst-port=!80
connection-mark=odd action=mark-routing new-routing-mark=odd
passthrough=no
4 ;;; Mangle New Connection as THIRD
chain=prerouting in-interface=LAN protocol=tcp dst-port=!80
connection-state=new nth=2,3,2 action=mark-connection
new-connection-mark=third passthrough=yes
5 ;;; Routing mark on marked package with 'THIRD'
chain=prerouting in-interface=LAN protocol=tcp dst-port=!80
connection-mark=third action=mark-routing new-routing-mark=third
passthrough=no