데비안에서 파이어월(ipchains, iptables) 설정 방법은?

sangheon의 이미지

레드헷만 쓰다가 데비안을 쓰는데 파이어월 설정이 잘 되지 않는군요.

gns:~# ipchains -L
ipchains: Incompatible with this kernel
gns:~# iptables -L
modprobe: Can't locate module ip_tables
iptables v1.2.6a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
gns:~#

커널 업그레이드를 해야하는 건가요? 커널 업그레이드를 해야 한다면 컴파일
말고 패키지로 설치하는 방법은 없는지 궁금합니다.

데비안 우디 stable 입니다.

Quote:

gns:~# dmesg | head
Linux version 2.2.20-idepci (herbert@gondolin) (gcc version 2.7.2.3) #1 Sat Apr 20 12:45:19 EST 2002
BIOS-provided physical RAM map:
BIOS-e820: 0009fc00 @ 00000000 (usable)
BIOS-e820: 00000400 @ 0009fc00 (usable)
BIOS-e820: 0f6f0000 @ 00100000 (usable)
Detected 800053 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1595.80 BogoMIPS
Memory: 249236k/253888k available (1164k kernel code, 412k reserved, 3004k data, 72k init)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
gns:~#
kall의 이미지

패키지 커널이라면 modconf 에서
kernel/net/ipv4/netfilter 쪽에서 ip_tables를 추가해 주면 되지 않을까요?

iptable패키지 설치시에 자동으로 모듈이 올라갔던것 같은데...
설치해본지가 좀 오래돼서 기억이 가물가물하군요.

그런데 2.2.20 커널에서 ipchains가 안되는게 더 이상하군요. ;;

----
자신을 이길 수 있는자는
무슨짓이든 할수있다..
즉..무서운 넘이란 말이지 ^-_-^
나? 아직 멀었지 ㅠㅠ