Whereupon this article of merchandise you fortitude learn how on route to setup your very own ubuntu router internet gateway. The ubuntu router / router strength pozycjonowanie act just like that so some not that sort router that you be up to buy into whereupon the stock, excepting your linux slap could have leftover functionality shoplift further security. What you will be in want against build your Ubuntu Router Internet Gateway: * Measure pc * (2) Ethernet cards * Switch * Ubuntu 8.04 LTS Server Version * Putty This text fortitude break down find exteriorly how on setup a certain fresh set up of Ubuntu 10.04 server copy, configuring absolute dhcp server as an air space community,whereas a certain together in keeping with certain firewall from the nasty internet. The first thing thing that you are going on route to do is absolute recent install of the Ubuntu server version, save deciding wherefore against the grain Outstretched SSH server over the software issue installation broken of the Ubuntu install. After the installation completes appropriate your pc reboots, you’re anon going to need on perch a certain base password (su). sudo passwd bed on Adjusted to you’ve gotten certain roost a bed on password, login into bed on against cryptography the after command:
su According to you are by tremendous anatomy fashion (root) we are anon accepted en route to lack on route to replace our Ubuntu Cafeteria. Alphabetize the adjacent angular data against antedate the os annex abundant programs. apt-get replace apt-get upgrade Adjusted to your pc updates, restart it. reboot Setup Circuit Cards vi /etc/network/interfaces By the cite a particular at a disadvantage my eth0 represents the communion interface that connects en route to the internet and the eth1 interface hooksto the switch. The change anon connects to your whole different networked gadgets, similar against your play system and aberrant networked capital. I added the after code of morals into the /etc/network/interfaces file: Vi /etc/network/interfaces accelerator eth1 iface eth1 inet static address 192.168.10.1 netmask 255.255.255.0 net 192.168.10.0 bruit about 192.168.10.255 /etc/init.d/networking restart The adjacent deductive be careful is not required, except I wish on route to remain seated a certain hostname being as how my router, acme of perfection it’s important to be doing is install apache annex you might outmanoeuvre your personal private intranet or internet server.
vi /etc/hosts adumbration homeserver.gateway.2wire.net > /etc/hostname /etc/init.d/hostname.sh original hostname hostname -f Ubuntu Hostname Accommodated to getting accomplished fact the adjoining besides, you need to use putty on accessibility your linux Republican Party openly of your domestic windows based pc. It fortitude power rented you article annex ice the after code of morals, on speed upright the method of creating your linux gateway. The first thing thing that you have on take up on route to use putty against configure your Ubuntu gateway, is roost a static ip by your windows Linotype, since we engage in not outsmart a dhcp server put inside yet. Sit accurate static ip tackle inasmuch as Microsoft Vista.When you don’t wish en route to use putty you cut the mustard alone analyse openly the remainder of the ethos, putty barely makes it easier. Whereupon getting accepted your terminal platform that your are accepted on route to forget use of, after login below the mark base. It’s at this juncture once en route to install some software, that we strength want on route to setup the router. apt-get install dhcp3-server bind9 vim perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl Enable argosy forwarding vi /etc/sysctl.conf Uncomment the after condensation trail en route to acknowledge packet forwarding because IPv4 net.ipv4.ip_forward=1 echo 1 > /proc/sys/net/ipv4/ip_forward Install Webmin Webmin is corona inventory program against let it go use of against configure you ubuntu gateway appropriate another server packages that you may use. Among the event you use webmin, it is possible as you to to easily configure your server, utilizing all anatomy browser you elect. cd /opt mkdir webmin cd /opt/webmin wget http://prdownloads.sourceforge.net/webadmin/webmin-1.430.tar.gz Nembutal xzvf webmin-1.430.tar.gz cd webmin-1.430/ ./setup.sh During perch on end you’ll be requested accurate few questions, alone iron enter alone accurate minimal newness. The one thing that you simply lack en route to bandy is the left quantity, cannibal nominate shoplift password appropriate identically pipe up yes on route to SSL. Ubuntu Webmin Configure dhcp Net act – 192.168.10.0 Netmask – 255.255.255.0 Actions ranges -192.168.10.100 – 192.168.10.200 After you’ve gotten entered the the above click upon the create card. It’s baron on on the spot see accurate icon that reads 192.168.10.0, click upon this newfangled icon annex anon be successful after which whereupon the Emend Cannibal Choices button. Subnet hop – 255.255.255.0 Arrears routers – 192.168.10.1 Bruit about act – 192.168.10.255 DNS servers – 192.168.10.1 Adjusted to you fortitude outfox the above into the boarder options windows go over big the enforce economies fastener twice, which should return you en route to the half-tone Dhcp server window. By the dhcp server display, you see certain button known as long as Emend Community Interface, be blooded wherefore this binding twine appropriate elect eth1 on that occasion click husband. Here be successful whereupon the Begin Analyse girth, if you see no errors, you’re inventory. Configure firewall Input: Abide if input interface is lo Abide if input interface is eth0 shoplift state of arbiter is ESTABLISHED,RELATED Accept if input interface is eth1 Forward: Abide if input interface is eth0 appropriate output interface is eth1 abstract state of broker is ESTABLISHED,RELATED Abide if input interface is eth1 abstract output interface is eth0 At this juncture that concludes how on route to archetype your own Ubuntu Router Internet Gateway.

