2.6.x 대 커널내에 iptables은 없습니까??

otherplace의 이미지

현재 2.6.5 커널을 사용하고 있는데..
ipmasquerading 하려다 이상해서 물어봅니다...
이게 제 첫질문이 되는군요..ㅡㅡ;;

얼마전 2.6.0 대 커널을 처음 썼을때만해도
ipmaq란 명령하나만으로도 간단이 마스커레이딩이 됐었는데..

커널버전이 올라가다보니 이게 안돼네요...

더구나 커널 컴파일시 넷필터에서 아이피 테이블등 옵션을 죄다 줘도
어찌된게 iptables 명령이 나타날 생각을 안하네요..ㅡㅡ;;

예전엔 걍 emerge iptables로 포테지추가해서 는데...
왠지 억울하더군여..
분명 커널내에 옵션두 있구 옵션두 먹여서 컴파일했는데..
따로 포테지추가해서 써야한다는게..ㅡ,.ㅡ;;

제가 실수했을꺼라 생각하면서 삽질하다가
답답한맘에 물어봅니다..

Necromancer의 이미지

2.4 iptables로 2.6까지 잘 됩니다.

그리고 iptables는 커널과는 별개의 실행파일
패키지입니다. 없으면 신선고기에서 찾아보세요. 커널 netfilter, iptables는
필터링에 필요한거고 iptables 프로그램은 필터 세팅에 사용합니다.
iptables 설치 했는데도 실행 안된다면 find로 어디에 설치되어 있는지도 찾아보고요.
PATH에 지정되지 않은 엄한 곳에 설치되었을 수도 있고요. emerge로 했다면
중간에 에러내고 뻗어서 안

Written By the Black Knight of Destruction

송지석의 이미지

To share your internet connection:
http://fedoranews.org/krishnan/tips/tip012.shtml 2004-01-15 Fedora Tips #12:
To share your internet connection:
In /etc/sysctl.conf set net.ipv4.ip_forward to 1 and then exec sysctl -p
Now exec

iptables -t nat -A POSTROUTING -s your_private_network -j MASQUERADE
Where your_private_network is the network address, for example 192.168.0.0/24 Then exec: services iptables save - submitted by Franco Catrin.

otherplace의 이미지

답변 감사드립니다..
헌데 iptables은 커널내에 있는 모듈만 가지고는 사용할수 없는건지요??
꼭 iptables 패키지를 따로 설치해야하는 겁니까??

그리고 예전의 ipmasq <- 이 명령어의 행방과 정체 아시는 분있으면..
답변좀...

Gentoo rule's!!!

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.