Tutorial debian router


Debian Router

1.    Konfigurasi IP Address
#nano /etc/network/interfaces (enter)

2.    Restart Network
#service networking restart (enter)

3.    Konfigurasi firewall Nat
#nano /etc/rc.local (enter)
Tambah text iptables berikut di atas exit 0, lalu simpan:
Iptables –t nat –A POSTROUTING –o eth0 –j MASQUERADE

4.    Aktifkan forward
#nano /etc/sysctl.conf (enter)
Hapus tanda ”#” pada kata net.ipv4.ip_forward=1, lalu simpan

5.    Reboot debian :
#reboot (enter)

6.    Seting IP Address di win xp

Comments