Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th December 2008, 05:58
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default Ubuntu 8.04 as gateway setup help needed

Hello,

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:
Code:
auto eth0
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.4

auto eth1
iface eth1 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.25
192.168.1.4 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.

Dipesh
Reply With Quote
Sponsored Links
  #2  
Old 21st December 2008, 14:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I think an easier solution would be to install OpenWRT on your router (if your router model is supported): http://openwrt.org/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd December 2008, 04:51
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 173
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default

Quote:
Originally Posted by falko View Post
I think an easier solution would be to install OpenWRT on your router (if your router model is supported): http://openwrt.org/
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?

Dipesh
Reply With Quote
  #4  
Old 24th December 2008, 15:58
denbert denbert is offline
Member
 
Join Date: May 2008
Location: Copenhagen
Posts: 46
Thanks: 4
Thanked 3 Times in 3 Posts
Default

I'm using this setup on a Debian Etch

http://www.cyberdogtech.com/firewalls/

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.
Reply With Quote
  #5  
Old 25th December 2008, 10:29
denbert denbert is offline
Member
 
Join Date: May 2008
Location: Copenhagen
Posts: 46
Thanks: 4
Thanked 3 Times in 3 Posts
 
Default

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:

Code:
wget http://surfnet.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb
Code:
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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Server: Ubuntu 8.04 Questions for Falko artomason HOWTO-Related Questions 3 11th September 2008 12:38
Ubuntu 8.04 Spamsnake mail gateway and SBS MS Exchange 200x alfonz.senki HOWTO-Related Questions 2 29th June 2008 14:26
On Ubuntu 8.04 LTS Server Setup chrisathowtoforge Technical 4 2nd June 2008 18:20
odbc Chad Installation/Configuration 0 10th April 2008 01:43
NEEDED : Ubuntu 6.10 (Edgy Eft) ISP Server Setup with DTC (v 0.24.2.0) tyranno Suggest HOWTO 3 31st October 2006 23:58


All times are GMT +2. The time now is 04:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.