Rabu, 23 November 2016

SETTING ROUTER

Titania Faudi Afifah | 04.16 |
Selamat malam guyss.. perkenalkan nama saya Titania F.A dari Politeknik Negeri Lampung , prodi saya D3 Manjaemen Informatika. saya akan memposting cara setiing router...

SETTING ROUTER

#nano /etc/network/interfaces
address 192.168.4.204
netmask 255.255.255.0
network 192.168.4.0
broadcast 192.168.4.255
geteway 192.168.4.254
auto eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network t192.168.10.0
broadcast 192.168.10.255

#nano /etc/resolv.conf
nameserver 202.134.10.155
nameserver 203.130.196.5

#nano /etc/rc.local
iptables -t nat -A POSTROUTING -j MASQUERADE

#nano /etc/sysctl.conf
net.ipv4.ip_forward = 1

Selamat mencoba :)

Tidak ada komentar:

Posting Komentar