Popular Post

Popular Posts

Posted by : Unknown Rabu, 23 Maret 2016



GATEWAY

Langkah awal mengkonfigurasi gateway
# nano /etc/network/interfaces
                                Auto eth0
                                Iface eth0 inet static
                                                Address               192.168.1.90
                                                Netmask              255.255.255.0
                                                Gateway              192.168.1.1
                                Auto eth1
                                Iface eth1 inet static
                                                Address                192.168.2.50
                                                Netmask               255.255.255.0
                                (save : ctrl x + y)
# nano /etc/sysctl.conf
                                Hapus tanda pagar “ # “ pada kalimat ”net.ipv4 _forward = 1 “
# nano /etc/rc.local
·         Iptables –t  nat –A POSTROUTING -o eth0-j MASQUERADE
·         Iptables –t  nat –A POSTROUTING -o eth1-j MASQUERADE
# nano /etc/resolv.conf
                Tulis nameserver 192.168.2.50
# /etc/init.d/networking restart


Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Metro Techno Solutions - Devil Survivor 2 - Powered by Blogger - Designed by Johanes Djogan -