Professional Documents
Culture Documents
auto eth0 iface eth0 inet static address 192.168.4.2 netmask 255.255.255.0 network 192.168.4.0 broadcast 192.168.4.255 gateway 192.168.4.1 auto eth1 iface eth1 inet static address 192.168.5.1 netmask 255.255.255.0 network 192.168.5.0 broadcast 192.168.5.255
# nano /etc/sysctl.conf Cari teks # net.i !4.i "forward#1 $ktifkan dengan menghi%angkan tanda &#'( men)adi* net.i !4.i "forward#1
# nano /etc/rc.local +asukkan erintah berikut iptables t nat A POSTROUTING o eth0 !AS"U#RA$# ,emudian di sim an -ntuk mencoba skri tersebut( %akukan restart com uter # reboot
Settingan Client 4
./ address 192.168.5.0 1ubnetmask 255.255.255.0 2efau%t gateway 192.168.5.1 /referred 231 ser!er 200.100.196.5 $%ternate 231 ser!er 202.104.0.155