1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Linux- router/firewall using iptables, no NAT

Discussion in 'Networking & Security' started by Rambotnic, Mar 1, 2010.

  1. Rambotnic New Member

    Joined:
    Jul 29, 2005
    Messages:
    84 (0.03/day)
    Thanks Received:
    0
    Location:
    In the middle of nowhere---Estonia
    Hi!

    Im having trouble with a homework assignment and was wondering if someone could help me out. The mission is to demonstrate a linux-mounted pc with two network adapters(in my case eth0 and wlan0), set up as a router/firewall that doesn't do NAT'ing. Both network adapters have to have a public ip. Permit access to a web server behind it(port 80) and make it accessible through ssh for remote admisitration.

    The environment is the schools public wireless network, which i'd like the linux to catch and then pass it on through eth0 to the test computer. Would "ip router" be the correct term for what i need to achieve? Is it possible for the test computer to get an ip dynamically from the public wireless through the linux router?

    Any kind of help would be very much appreciated.

    (sofar i've only been able to get it working by letting eth0 assign a local ip to the test computer and configuring the firewall seemed like nothing too complicated either).
  2. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,203 (4.86/day)
    Thanks Received:
    3,126
    what does your textbook say?
  3. Rambotnic New Member

    Joined:
    Jul 29, 2005
    Messages:
    84 (0.03/day)
    Thanks Received:
    0
    Location:
    In the middle of nowhere---Estonia
    I don't have a textbook for this explicitly, unfortunately, just google. :(
  4. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,271 (1.34/day)
    Thanks Received:
    597
    Location:
    Geneva, FL, USA
    Sounds more like a bridge since no routing or NAT is being performed.

    http://www.debian.org/doc/manuals/securing-debian-howto/ap-bridge-fw.en.html

    May not be applicable to your particular distro, but should help you Google.
    Rambotnic says thanks.
  5. Rambotnic New Member

    Joined:
    Jul 29, 2005
    Messages:
    84 (0.03/day)
    Thanks Received:
    0
    Location:
    In the middle of nowhere---Estonia

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page