linux porttiohjaus 80-8080

IMG_2933


iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination :8080


iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j DNAT --to-destination :8443

0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*