View previous topic :: View next topic |
Author |
Message |
vorobei n00b
Joined: 26 Jan 2007 Posts: 2 Location: Moscow
|
Posted: Fri Jan 26, 2007 5:10 pm Post subject: IPtables |
|
|
Pomogite novu4ky.Est servernui komp gentoo 2006.1 64bit u rabo4aia stanciia windows xp .Tak vot na servere dve setevyxu odna(eth1) idet na provaidera(internet),vtoraia(eth0) na vtoroi komp.Mne nado nastrout' tak 4tobu vtoroi komp imel internet.4utal stat'u po nastroike routera http://www.gentoo.org/doc/ru/home-router-howto.xml .Na nastroike iptables zaporolsia(Листинг 5.2: Настройка iptables).Na vse eti komandu mne pishet:
FATAL: Module ip_tables not found.
iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
delal emerge iptables .vse vrode kak ystanovilos'.Vserovno tage oshibka.Delau modprobe ip_tables
vudaet oshibky:
FATAL: Module ip_tables not found.
4utal forum , tam bulo napisano pro dobavlenie v edro vsiakix fynkcui , tipa netfilter support iptables , vse delal problemu takie zhe.POmogite plz.Vot nekotorue moi configi:
eth0 Link encap:Ethernet HWaddr 00:04:61:F7:FF:FF
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:61ff:fef7:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:179 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31557 (30.8 Kb) TX bytes:888 (888.0 b)
Interrupt:16 Base address:0x8000
eth1 Link encap:Ethernet HWaddr 00:80:48:40:25:68
inet addr:213.208.180.68 Bcast:213.208.180.255 Mask:255.255.255.0
inet6 addr: fe80::280:48ff:fe40:2568/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:70044 errors:0 dropped:0 overruns:0 frame:0
TX packets:1413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8290482 (7.9 Mb) TX bytes:213902 (208.8 Kb)
Interrupt:19 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 b) TX bytes:784 (784.0 b)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.208.180.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default www.begovoy.net 0.0.0.0 UG 0 0 0 eth1 |
|
Back to top |
|
|
Laitr Keiows Bodhisattva
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
Posted: Fri Jan 26, 2007 6:52 pm Post subject: |
|
|
Выложи куда-нибудь конфиг ядра. |
|
Back to top |
|
|
vorobei n00b
Joined: 26 Jan 2007 Posts: 2 Location: Moscow
|
Posted: Fri Jan 26, 2007 7:24 pm Post subject: |
|
|
Izviniaus za glupui vopros.Novi4ok ia v gentoo.Gde etu konfigi lezhat?V papke boot? |
|
Back to top |
|
|
Laitr Keiows Bodhisattva
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
Posted: Sun Jan 28, 2007 5:48 pm Post subject: |
|
|
vorobei wrote: | Izviniaus za glupui vopros.Novi4ok ia v gentoo.Gde etu konfigi lezhat?V papke boot? |
zcat /proc/config.gz |
|
Back to top |
|
|
|