All pastes #481302 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-10 19:29 UTC
rendered paste body
echo "Redirecionando pacotes Apache na porta 3000"
$IPTABLES -A FORWARD -p tcp -m tcp -i eth1 -d 192.168.1.252 --dport 3000 -j ACCEPT
$IPTABLES -t nat -A PREROUTING -p tcp -m tcp -i eth1 --dport 3000 -j DNAT --to-destination 192.168.1.252:3000