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.
    Färrükh Ähmëd

  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.
    Färrükh Ähmëd

Similar Threads

  1. Accidently Deleted ACCESS Table
    By bpellinger@yahoo.com in forum Windows - General Topics
    Replies: 1
    Last Post: 04-04-2005, 02:21 PM
  2. Excel VLOOKUP Function
    By swatsp0p in forum Windows - General Topics
    Replies: 1
    Last Post: 01-26-2005, 05:21 PM
  3. Setting up a Routing table in ClarkConnect 2.2 (RedHat 9)
    By wetmetalthong in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 01-19-2005, 12:40 AM
  4. SQL Server 2k win CE edition FAQ
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:59 AM
  5. Data in MySQL table in several array's
    By xin in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 07-22-2002, 08:13 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
  •