iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
This will allow all HTTP (80) traffic to be redirected to port 3000.
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
$('.item').draggable({ opacity: 0.35, revert: true, snap: true, zIndex: 2800 }); $('.box').droppable({ greedy: true, drop: function(e, ui) { $(this).droppable('option', 'accept', ui.draggable); $(this).append(ui.draggable); }, out: function(e, ui) { $(this).droppable('option', 'accept', '.item'); } });