리눅스 설치후 telnet,ftp,ping등 외부에서 접근이안됩니다. 내

misei의 이미지

telnet, ftp, ping 등 내부내트웍킹은 됩니다.
그런데 외부에서 접근이 안되네요.
설정을 어떻게 해야 할지.
일단 서비스는 떠 있습니다.
lokkit 의 중간(Medium) 에 두었고요.
Customize 의 check 도 했습니다.

/etc/xinetd.d/telnet 의 설정 파일도 확인 했구요(아래)
# default on
# description The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

이 부분 말고 또다른 체크 사항이 있는지 궁금 합니다.

codebank의 이미지

http://bbs.kldp.org/viewtopic.php?t=22432&highlight=iptable

윗글을 일단 참조를 하세요.
그리고 네트워크에 관련된 질문을 올리실 때는 LINUX가 가지고 있는 IP가
공인IP인지 사설 IP인지를 적어주시고 같은 IP대에서 (즉, 사설 IP에서) 연결
되는지의 확인 유무와 외부에서 접속시(PC방 같은 곳에서...) 연결 유무를 같이
올려 놓으면 좀더 정확한 답변을 얻을 수 있습니다.

------------------------------
좋은 하루 되세요.

misei의 이미지

ip는 외부에서 접근 가능한 아이피 입니다.
192.x.x.x 이런 아이피는 아닙니다.

iptables은
/sbin/iptables -L
Note /etc/modules.conf is more recent than /lib/modules/2.4.2-2wl/modules.dep
/lib/modules/2.4.2-2wl/kernel/net/ipv4/netfilter/ip_tables.o init_module Device or resource busy
Hint insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.2-2wl/kernel/net/ipv4/netfilter/ip_tables.o insmod /lib/modules/2.4.2-2wl/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.2-2wl/kernel/net/ipv4/netfilter/ip_tables.o insmod ip_tables failed
iptables v1.2.1a can't initialize iptables table `filter' iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
이런 메시지가 나옵니다.

초보 입니다. 많은 가르침을...

idlock의 이미지

방화벽 관련이 필요 없으시고 rpm 을 사용하신다면. ...

rpm -e iptables
rpm -e ipchains

해서 방화벽과련 모듈을 날려 버리시고

service 에서 않쓰시는 목록을 삭제하세요. 그럼 될겁니다.

아니면 이참에 공부를 해보시는것도 좋을듯
:D

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.