alo temans

mohon pencerahannya:
gini sy gi buat gw dengan rule iptables sebagai berikut
/sbin/iptables -F
/sbin/iptables -t filter -F
/sbin/iptables -t nat -F
/sbin/iptables -t mangle -F

/sbin/iptables -X

/sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.1.0/24 -o eth1
/sbin/iptables -t nat -p tcp -A PREROUTING -s 192.168.1.0/24 -d 0/0
--dport 80 -j REDIRECT --to-ports 3128

ini topologinya:
inet-modem cable-gw-client2

ini pesan errornya:
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
: command not foundne 5:
iptables: Table does not exist (do you need to insmod?)
: command not foundne 7:
' (No aliases, :, ! or *).n interface `eth1

ada ada hubungannya dengan modprobe?
soalnya di trustix 2.2 pas sy lsmod list nya ky gini:

Module                  Size  Used by    Not tainted
ipt_REDIRECT             728   8  (autoclean)
ipt_MASQUERADE          1368   7  (autoclean)
iptable_mangle          2072   0  (autoclean) (unused)
iptable_filter          1644   1  (autoclean)
ip_nat_snmp_basic       7984   0  (unused)
ip_nat_irc              2096   0  (unused)
ip_nat_ftp              2608   0  (unused)
iptable_nat            16934   5  [ipt_REDIRECT ipt_MASQUERADE
ip_nat_snmp_basic  ip_nat_irc ip_nat_ftp]
ip_conntrack_irc        2960   1
ip_conntrack_ftp        3792   1
ip_conntrack           19076   2  [ipt_REDIRECT ipt_MASQUERADE
ip_nat_irc ip_nat _ftp iptable_nat ip_conntrack_irc ip_conntrack_ftp]
ip_tables              12000   7  [ipt_REDIRECT ipt_MASQUERADE
iptable_mangle ip table_filter iptable_nat]
cls_route               4056   0  (unused)
cls_u32                 4668   2
cls_fw                  2360   0  (unused)
sch_sfq                 3392   2
sch_htb                19552   2
8139too                12776   1
via-rhine              12176   1
mii                     2144   0  [8139too via-rhine]
crc32                   2848   0  [8139too via-rhine]
keybdev                 1796   0  (unused)
mousedev                3860   0  (unused)
hid                    20132   0  (unused)
input                   3104   0  [keybdev mousedev hid]
ehci-hcd               16876   0  (unused)
usb-ohci               18472   0  (unused)
usbcore                57612   1  [hid ehci-hcd usb-ohci]


klo di centos ky gini:

Module                  Size  Used by
ipt_REDIRECT            2241  4
ipt_MASQUERADE          3777  4
iptable_mangle          2881  0
iptable_nat            23549  3 ipt_REDIRECT,ipt_MASQUERADE
ip_conntrack           41077  2 ipt_MASQUERADE,iptable_nat
iptable_filter          3009  0
ip_tables              17601  5
ipt_REDIRECT,ipt_MASQUERADE,iptable_mangle,iptable_nat,iptable_filter
md5                     4161  1
ipv6                  236801  12
parport_pc             24833  1
lp                     12333  0
parport                37513  2 parport_pc,lp
autofs4                28101  0
i2c_dev                11585  0
i2c_core               22337  1 i2c_dev
sunrpc                163237  1
dm_mirror              30789  0
dm_mod                 65401  1 dm_mirror
button                  6737  0
battery                 9029  0
ac                      4933  0
ohci_hcd               22097  0
ehci_hcd               31429  0
k8_edac                14181  0
edac_mc                16473  1 k8_edac
snd_azx                18513  3
snd_hda_codec         122817  1 snd_azx
snd_pcm_oss            49400  0
snd_mixer_oss          18241  2 snd_pcm_oss
snd_pcm                97865  3 snd_azx,snd_hda_codec,snd_pcm_oss
snd_timer              30149  1 snd_pcm
snd                    55973  10
snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10017  2 snd
snd_page_alloc          9929  2 snd_azx,snd_pcm
8139too                26177  0
mii                     5313  1 8139too
forcedeth              24001  0
ext3                  117193  4
jbd                    71769  1 ext3

Thanks yah sebelumnya

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Reply via email to