bantuin bikin gateway dunk..

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
danz0
Posts: 140
Joined: 19 Jan 2010, 12:37
Location: Suroboyo

bantuin bikin gateway dunk..

Postby danz0 » 02 Jul 2010, 14:38

hai all mau nanya nih..
routing iptable gmn ya buat gateway..
topologinya..
inet>>eth1>><<eth0(DHCP)<<client

eth1 dah tersambung ke inet
DHCP dah jalan dan client sudah terhubung
client belum terhubung ke internet

saya coba
# iptables �t nat �A POSTROUTING �o eth1 �j MASQUERADE

kok g bisa ya?
muncul pesan bad command -t


trus untuk hapus/bersihin table routing di iptable gmn ya?
Kalo ada sekalian link tutorial ttg iptable yg mudah dimengerti dunk :D
User avatar
danz0
Posts: 140
Joined: 19 Jan 2010, 12:37
Location: Suroboyo

Re: bantuin bikin gateway dunk..

Postby danz0 » 05 Jul 2010, 03:26

hiks2..kok sepi ya..
helep..helep..:D
User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Re: bantuin bikin gateway dunk..

Postby Sudoers » 06 Jul 2010, 13:45

Buat hapusin rule iptables..
iptables -F
Karena diatas pake nat berarti iptables -t nat -F

Harusnya rulesnya kehapus.
User avatar
danz0
Posts: 140
Joined: 19 Jan 2010, 12:37
Location: Suroboyo

Re: bantuin bikin gateway dunk..

Postby danz0 » 06 Jul 2010, 13:59

[quote=Sudoers]Buat hapusin rule iptables..
iptables -F
Karena diatas pake nat berarti iptables -t nat -F
Harusnya rulesnya kehapus.


Dicoba dlu bro sudoers..
Kalo dg topologi diatas harusnya bikin rulenya gmn ya bro?
agar client yg tersambung melalui eth0
coz gw coba dari tutorial lengkap dri sebelah ko g jalan :(