Blog Hosting, Server, Linux, Jaringan Komputer dan Internet 

Home Tutorial Port Porwarding Centos

Port Porwarding Centos

Published on January 6, 2015, by in Tutorial.

Untuk melakukan port pordwarding di Centos gunakan perintah iptables.

Misalkan :

Port yang akan difordward = 8291

ip public =

ip lokal tujuan =


Gunakan perintah berikut :

# iptables -t nat -A PREROUTING -d -p tcp –dport 8291 DNAT –to-destination

simpan dengan perintah :

# iptables save



Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.