Results 1 to 4 of 4

Thread: configuring NAT-table

  1. #1

    configuring NAT-table

    Hi,

    I've got a question. The router here is good configurerd for internetting with many people. The point is now, that there's a webserver in the network since a few days. The problem is that i don't know how to configure my router that the webserver can be accessed from outside the network.
    Het router is an old pc with linux on it. and i can only acces it by telnet, but i can login as root.

    sow how can i configure my router by telnet so that the webserver can be accessed from outside the local network.

    Thanks for helping me.

    Devino.

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear devino,
    Hello,

    For 2.2.x

    # ipchains -A input -s 0/0 80 -i eth0 -p 6 -j ACCEPT

    For 2.4.x

    # iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT

    Best Regards.
    Frrkh hmd

  3. #3
    thanks for the reply, but what i'd forgotten to mention is the version, and that is 2.0
    and could you specify where in the input i've to put the internal ip adres, because that's not clear to me in the 2 which you've posted.

    Thanks!

    Best Regards,
    Devino

  4. #4
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear devino,
    Hello,

    For more information please read these documents.

    # man iptables
    # man ipchains


    http://www.netfilter.org/documentation/

    Best Regards.
    Frrkh hmd

Similar Threads

  1. Does localhost need to be in the routing table?
    By epicac in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-20-2006, 03:10 PM
  2. Copying a table.
    By HuggyBear in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 03-15-2003, 08:15 PM
  3. The header table up top
    By mcdougrs in forum Announcements and Suggestions
    Replies: 0
    Last Post: 12-06-2002, 12:29 AM
  4. test - making a table
    By pbharris in forum General Chat
    Replies: 8
    Last Post: 05-17-2002, 04:49 PM
  5. neighbour table overflow
    By chippy in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 05-08-2002, 03:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •