Ubuntu 8.04 as gateway setup help needed

Discussion in 'Installation/Configuration' started by dipeshmehta, Dec 20, 2008.

  1. dipeshmehta

    dipeshmehta Member


    I want to setup my Ubuntu 8.04 Server to work as gateway to internet for network clients running windows xp/vista.

    I have two NIC in my ubuntu server, and internet access is through ADSL router.

    I have setup my eth0 and eth1 as under:
    auto eth0
    iface eth0 inet static
    auto eth1
    iface eth1 inet static
            broadcast is IP of ADSL router, and xxx.xxx.xxx.xxx is my static IP.

    I want to setup my gateway, such a way that I can manage it completely i.e. I need to ban access for some of the clients. I need to ban access for some sites for all clients, and similar lots of things can be done.

    Please suggest appropriate howto / guide.

    Thanks in advance.

  2. falko

    falko Super Moderator ISPConfig Developer

    I think an easier solution would be to install OpenWRT on your router (if your router model is supported): http://openwrt.org/
  3. dipeshmehta

    dipeshmehta Member

    Thanks for suggestions.

    My ADSL router model is Huawei SmartAX MT880, and it is not listest in supported devices list of OpenWRT.

    Any other suggestion?

  4. denbert

    denbert New Member

    I'm using this setup on a Debian Etch


    Runs absolutely fantastic - I don't think you should have any problems, setting it up on a clean Ubuntu 8.04 LTS.

    Normally, I setup the base system, and then pasting in commands, via putty, as this is a web guide I always have all the steps in different tabs on firefox :)

    I have installed it several times on different servers for friends etc.

    I might try it on Ubuntu, in in the comming days, as my Debian needs a serious clean-up due to some other tests, which has installed all sorts of stupid packages. (my own, fault as I could had made a backup before testing...)

    Webmin has a module for the Shorewall, and therefore adding rules eg. port forwarding, opening ports etc. etc. is very easy.
  5. denbert

    denbert New Member

    Or this one http://www.howtoforge.com/ubuntu6.06_firewall_gateway

    In my opinion, this should be the easiest, as it's based on Ubuntu.

    Use the latest webmin:

    wget http://surfnet.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb
    dpkg -i webmin_1.441_all.deb
    For editing conf file, use nano - much easier, and you don't need to install a editor like vi, which most of the howto's a showing in here.

Share This Page