Ubuntu Networking :: Setup Server As Router / Gateway?

May 29, 2011

I have been searching google for a while now and have not found exactly what I am looking for. I would like to use my fresh install of ubuntu server 11.04 as my router/gateway for my home. I am not an expert at linux by any means but I can usually figure stuff out. I believe I need iptables, bind, and a few others probally. It eventually will also be a samba server but I have done a little with samba before. I do have 2 network cards, my router at the moment is starting to die and would love to have a more powerful router. I would also like to figure out how to do port forwarding in the router, as well as be able to see the load on the network cards. Maybe there is a program to show usage by user? As well as be able to do packet pritorization.

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: How To Set Up A Gateway/router And Firewall On Server

Jul 20, 2011

I want to do is setup a gateway(or router, idk what Ubuntu refers to it as.). So my set up would be Modem>Server>Switch>Router. I know that I need to set up it up as a DHCP server as well. I would also like to setup it up as a firewall too. I already have two Gbit cards that are already configured. So how do I do this? I already tried one tutorial, but it was old and was for Debian. I also installed ebox, but I couldnt figure that out either.

View 2 Replies View Related

Networking :: Setup 2 Gateway For Email Server

May 11, 2010

setup 2 gateway in my email server(opensuse).

now i wan to setup 2 internet lines for my email server, which mean that either one of the line is down, i still can receive mail from another line.

Example
Internet line 1 = ISP1
Internet line 2 = ISP2

my email server got 3 nic which...

eth0 = 192.168.1.2 (255.255.255.0) (from ISP1 GW 192.168.1.1)
eth1 = 192.168.2.2 (255.255.255.0) (from ISP2 GW 192.168..2.1)
eth2 = 168.168.1.2 (255.255.0.0) (connect to local LAN)

now existing GW set on the server is 192.168.1.1, mail receive and send through ISP1. now we wish to set somethings that once the ISP1 line is down, the server will auto switch to ISP2 gateway and continue send and receive mail without manually change of settings

View 9 Replies View Related

Ubuntu Networking :: Can Setup The Server As A DSL Router

Nov 17, 2010

I am planning to setup a home network with Ubuntu.the home network consists of ~3/4 computers; a mediaserver (reelbox) and 2 more PCs.Can I setup the server as a DSL router and get rid of my modem/router I have right now?

View 3 Replies View Related

Networking :: Setup Pxe Server Routed Via Standard ASDL Router

Apr 2, 2010

I have searched google, but can't really get the hang of setting this up.Most howtos are setting up a DHCP and PXE on the same box. At the present my DHCP is done by my router and I want to set up the PXE server on my main PC.My router can re-direct traffic types based on ports (UDP or TCP) to an IP but can't do the bit about directing the pxe loader name (and I really don't want to ssh into it and start messing about there)If I redirect the port (what ever it may be, help required here) how would I go about setting up the Ubuntu PC to do the load and pass back to the PC trying to PXEboot?

View 1 Replies View Related

Ubuntu Networking :: Using DSL Gateway As Secondary Router?

Mar 4, 2010

I live on a property with 3 other units and we all share a cable connection. There's a modem connected to a wireless router (I'll call it the "main" router), which until recently I connected to with an 80' or so long ethernet cable because I don't get a good signal, and all I've got is a desktop anyway. When plugged directly into the main router, I can get very fast download speeds - the fastest I've seen over bittorrent, for example, is about 2.2 Mb/s, and it's over 1 Mb/s most of the time for popular torrents or sites with good bandwidth. A friend with a laptop is staying with me for a month, so I wanted to set up a wireless router in my home, and my desktop needed to be moved to a location where running a wire is kind of awkward, so I planned on using the wireless too.

I don't have a spare proper router with an uplink port laying around, but I did have a spare DSL modem/wireless router combo (which I'll call the "secondary" router) that I used to use at a former residence, and I thought I'd try to use it here. I plugged it into my computer, configured its security settings how I wanted (64-bit WEP) and looked through for settings that seemed like they might pertain to using it in this capacity. I didn't really find any except for something that seemed to turn off its DHCP, which I did. Then I unplugged my computer and plugged in the ethernet cable that runs to the main router (which is a normal ethernet cable, not crossover). I found that this setup does "just work" for the most part - our computers see the signal and can log in and access the internet through the main router's cable connection. However:

1. I can't figure out how to access the secondary router's settings once it's been plugged into the main one, even if I unplug it from the main one. What happens is that as soon as I connect the two routers together, it's almost like the secondary ceases to exist independently until it's settings are purged via the reset button. I plug it's IP address into a browser like usual, and nothing happens (it's an Actiontec whose stock one is 192.168.0.1 and the main router is a Netgear with an IP of 192.168.1.1).

I can log into the main one like normal through a wireless connection to the secondary, though. If I look at "attached devices" in the main router's config, it lists all the client computers in the network, but there's no IP that could be for the router (I'm sure of this). Each computer connected through my secondary router gets assigned its own IP like normal, and port forwarding works without a hitch. Again, this persists until the secondary is reset - after the two routers are connected but until the secondary is reset, there doesn't to be a way into the secondary's config. The security settings are acting as they should, though (ie, you need the secondary's WEP key to log on).

2. Internet download speeds when connected to the secondary over wireless are extremely slow compared to what the connection is capable of (can't seem to top 90 Kb/s) but for some reason the max attainable internet upload speed seems to be about the same as normal (around 200 Kb/s). This is puzzling to me. Back when I was using the secondary router for it's intended purpose as a DSL gateway under XP, I downloaded at around 300 Kb/s all the time with it using the same wireless card I am now, so I know the hardware I have is capable of it. Now both of our wireless cards are getting the same mediocre speeds (seemingly bottlenecked at around 90 Kb/s), even with a full signal (ie, the computer right next to the router).

If we connect to the secondary router with a cable rather than wireless, there's no problem and downloads are really fast (note again though that the max upload speed doesn't seem affected whether wired or wireless, as determined by running internet speed tests in both configurations). Ping times over wireless are also extremely high - ie, 800ms+ even when pinging the main router at 192.168.1.1.

It almost seems like there's something inferior or bottlenecked about the wireless signal the secondary router puts out, but I don't know what that could be or how to change it. (I also don't really understand anything about the setup I created here though, other than that I plugged it in and crossed my fingers and it works for basic, non-bandwidth-intense tasks). basically I'm curious whether there's a way to have normal access to the secondary router's settings in this setup, and whether there's a way to make the bandwidth over wireless less mediocre.

View 3 Replies View Related

Networking :: 10.112.112.112 Gateway In Wireless Router - What Does It Mean

Aug 16, 2010

a wireless router (box) is went stuck, I found that when it is stuck it uses strange IP local address remote address 10.112.112.112, today is also went stuck but this time the gateway was 10.112.112.112. I had to switch off, switch on teh router to function properly. I am using DSL connection normally the gateway is likie that 78.8.... and my IP (dynamic) like 78.8.240..... Is there any default meaning of 10.112.112.112 in teh net connections?

View 14 Replies View Related

Networking :: Network Setup - Router - Wireless Router Card ?

Apr 24, 2010

I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.

Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.

Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).

The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.

Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).

Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.

Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).

My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?

Here is a link to (picture) my network diagram. Network Diagram

View 2 Replies View Related

Networking :: Hold Static Ip Address From A Different Gateway Router ?

Jul 6, 2010

I'm running Ubuntu 10.04 and my setup is as follows:

As you can see, I am directly connected to router 192.168.25.1, and so my ip address is 192.168.25.101. I want my ip address to be 192.168.13.101, and make router 192.168.13.1 my gateway router. Is this possible under the current physical layout (I do not want to have to connect directly into 192.168.13.1, but keep my computer where it is at)?

When I run tracepath, it shows 192.168.13.1 is one hop away.

What I've tried:

The problem is under this manual setup, I cannot ping 192.168.13.1 and running command netstat -rn returns the following:

View 2 Replies View Related

Networking :: Ubuntu Jaunty (v9.04) Vs DLink DIR-655 Gateway / Router / Access-point

Apr 24, 2010

Does anyone have experience with the D-LINK DIR-655 gateway OR router OR wireless access point? On the surface, I like this box, but it is giving me grief. First, it wants me to use a win-dose CD configurator application. I use the embedded web page configurator. Next, there are several configuration wizards at the embedded web page. After trying the wizards, I went to the manual screens to tinker to get something working.

So what is going on? When a LAN client connects, I want DHCP to present at least two "nameserver" values ... which then make their way into /etc/resolv.conf The DIR-655 plays some nameserver games like caching and blacklisting and other things. However, I get some ad-vert page from "dnssearch" or "yahoo" or similar when names don't resolve. I really don't want this behavior. Network-manager does not report the connection down, however streaming anything stops or "reconnects", browsing times out, LAN side traffic seems to stop as well.

View 1 Replies View Related

Fedora Networking :: Static IP Cannot Contact The Internet Or Even Gateway Router?

Jul 29, 2011

I have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

My gateway is 192.168.1.1 and my static IP is 192.168.0.2.

View 3 Replies View Related

Networking :: Cannot Ping Gateway Or Access Router Administrator Page

Jan 22, 2009

Presently this client access the net through following setup
ADSL modem -> hub -> all computers

Now they want to do some kind of bandwidth control, content filtering. So I tried setting up squid with dansguardian. This is what I did
ADSL -> linux server -> all computers.

The linux server has two NIC cards. One to the ADSL router and another to the local hub. This is how my squid.conf file looks like

http_port 3128
acl ubc src 192.168.1.0/255.255.255.0 (for subnet)
http_access allow ubc

Have set the gateway server as 121.x.x.1. Which is the gateway server of the ISP. Now I can ping the local network, but cant ping the gateway or any other website. Also I am unable to access the router administration page.

View 2 Replies View Related

Server :: Setup Qmailtoaster As A Gateway For Exchange

Mar 25, 2010

I have set up qmailtoaster as a gateway for exchange.

my smtproutes contain this:
thedomain.com:mail.exchange.com
and my rcpthosts contain:
thedomain

The problem I am facing now is, the exchange was able to send mails through me alright. But when mails come in, qmailtoaster is suppose to forward the mails to the exchange server but it is not, rather the mails are sitting in the toaster's queue.

View 2 Replies View Related

Networking :: Routing For A VPN Gateway Setup?

Dec 17, 2010

I've been trying to setup an IPSec connection between two routers, but am having trouble with the actual packet routing.

My setup currently is two local networks (192.168.1.0/24[netLANA] and 192.168.0.0/24[netLANB]) that are connected to their own routers (192.168.1.1 and 192.168.0.1 respectively). The routers are both connected to the 194.26.1.0/24[netWAN] network. I wish to setup an IPSec connection between the two routers, to act in tunnel mode between the two local networks.

The first router is a linux box (on the netLANA network) that I am setting up using the ipsec-tools, and the other is a Netgear ProSafe FVS318G (on the netLANB). I've set them both up to have the same configuration for IPSec. Also, on the linux router I have setup a route like this:

Code:
$ route add -net 192.168.1.0/24 wlan0

So that all traffic destined for the netLANB network will be routed to the wlan0 interface (netWAN in this case, and therefore over the tunnel).

My problem is that if I ping from any host on netLANA, I can see the ICMP reply comes back to the linux router, but it doesn't get back to the original host.

From the linux router, here is the tcpdump of the ping:

Code:
$ tcpdump -n -S -i any
17:06:26.308353 IP 192.168.0.5 > 192.168.1.4: ICMP echo request, id 1036, seq 1, length 64
17:06:26.308780 IP 194.16.1.6 > 194.16.1.5: ESP(spi=0x0ea08914,seq=0x2f), length 116
17:06:26.316287 IP 194.16.1.5 > 194.16.1.6: ESP(spi=0x0be1036c,seq=0x2f), length 116
17:06:26.316287 IP 192.168.1.4 > 192.168.0.5: ICMP echo reply, id 1036, seq 1, length 64

[Code]....

View 2 Replies View Related

Networking :: Cannot Seem To Setup Gateway To Route Properly

Jul 24, 2011

I have setup a second machine with slackware 13.37, it is a "supermicro" which I picked up though my work. the idea was to set it up as a gateway and gradually expand my knowledge of sub networking, iptables, forwarding and the like. after a couple nights of forum searching and "o'reilly" book reading I am still unable to get a proper route working thru the "supermicro" to our dsl router.

What is setup?: I will start from my main machine simply calling it slackbox
slackbox: has two ethernet cards which i have given static ip's to
eth0 192.168.2.16 and eth1 192.168.3.11
eth0 (192.168.2.16) is connected to a switch and then to our dsl router, it is working, I am using right now to work on this forum.
eth1 (192.168.3.11) is connected to the "supermicro" thru a cross-over cable, it also is working, pinging the "supermicro" works.
default gateway on slackbox is set to be 192.168.3.10 (the supermicro)

I only set slackbox's default as 192.168.3.10 when testing to see if the supermicro gateway will work
supermicro: also has two ethernet cards which i have given static ip's to
eth0 192.168.3.10 (this is the card with the cross-over cable connected)
pinging 192.168.3.11 (the slackbox) works.
eth1 192.168.2.24 is connected to our switch as well, it is working, pinging our dsl router works.
default gateway on supermicro is set in rc.inet.conf to be 192.168.2.1 (which is our dsl router)

All my machines have two ethernet cards. This has just made it easy for me to test the setup while still having internet access on slackbox. Yet when testing the gateway from slackbox thru supermicro I am getting "Destination Host Unreachable".

View 13 Replies View Related

Networking :: How To Setup Static Routes - Gateway ?

Jan 18, 2011

I have a temporary system up with wlan0 and eth2.

I want the eth0 address to be the gateway for accessing the internet on wlan0.

How do I setup static routes?

I'm not too keen with networking...

Code:

View 1 Replies View Related

Ubuntu Networking :: Setup Routes For A Gateway That Resides On A Different Subnet

Jul 29, 2011

I'm trying to setup routes for a gateway that resides on a different subnet. Our ISP leased us a block of IPs and told us to route through the current gateway, which is on a different subnet than our current block of addresses. To test, I've enabled one of the new addresses on one of the existing machines, which works. That machine has an address on the same subnet as the gateway, however.

The gateway address is 24.111.1.177 One of the new addresses I'm trying to use is 96.2.192.130, netmask= 255.255.255.240, broadcast= 96.2.192.143 Obviously, I can't just specify that gateway in /etc/network/interfaces without some routing, which is where the trouble I'm having is. The machine I'm trying to set this up on is part of 2 networks - one internal, on two different NICs.

[Code]...

View 8 Replies View Related

Networking :: Setup 2 NICs With Access To Internet With 1 Gateway

Sep 13, 2009

I have 1 root-server with 2 NICs, both having their own internet IP addresses:

Code: eth0 = 8x.x.x.183
eth2 = 8x.x.x.205 We only have one gateway on that network:
Code: gateway = 8x.x.x.1 We want to use eth2 for postfix + http, and eth0 for all the other stuff.

How can this be setup ? With route / ip route / iptables ?

View 1 Replies View Related

Networking :: Setup Firewall / Gateway Address And Dns / Give To Clients For Accessing Internet?

May 12, 2010

I have 17 system (sys1,sys2,sys3.....sys17) in my office, and i am willing to setup a dedicated system to act as a firewall for that i have selected sys1 with two NIC(eth0 for local network and eth1 for internet) and i have configured to access internet in my office for that i have opened a wellknown port 80.but my clients are not accessing the internet..

and please check my sample IP configuration !!!

interface : eth1 (ISP IP)just for example
IP :192.168.0.2
gateway:192.168.0.1
dns:202.56.230.5
dns:202.56.230.6

Interface : eth0 (my local lan )

192.168.1.1
255.255.255.0

IP address of xp clients ranges form 192.168.1.2 to 192.168.1.16 with default 255.255.255.0

my question is that which gateway address and dns i have to give to my clients for accessing internet ?...

View 1 Replies View Related

Server :: Setup Home (1 Computer) FTP Server Using DSL Connection No Router?

Jan 21, 2010

I'm going to start a new thread because previous searches have not totally satisfied my question. I've read all day about doing this but each inquiry leads to discussion of configuring the router. I am also not network savy. I would like to set up an FTP server on my home computer (presently Ubuntu 8.10). I have only one computer. I am using DSL with my telephone line for internet connection. I do not use a router.

Is it possible to do this with no router and only a DSL ISP connection?

View 3 Replies View Related

Networking :: Setup Ubuntu As Router?

Apr 5, 2010

how to setup ubuntu as router. i already try to setup but it doesn't work.

my situation is to create ubuntu as router. i have two network card etho and eth1. i want to create eth0 in DMZ and eth1 only can only access in internal.

View 2 Replies View Related

Networking :: Trying To Setup Ubuntu Box As Router

Apr 3, 2011

I have multiple devices in my garage that need internet connectivity. I have my main Netgear router inside the house. I have a computer running Ubuntu in the garage with dual NICs.

Here's a map of how I have it setup now: [URL]
Here's my /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.60
netmask 255.255.255.0
gateway 192.168.1.1

auto eth1
iface eth1 inet static
address 192.168.1.5
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255

I was trying to keep everything on the same subnet. Eth0 is the external NIC, connected to the router in the house. eth1 is the internet NIC, which would go out to the devices in the garage. Now, I know it would be easiest to just connect a switch up and run all the devices in the garage off that switch. But the switch I have is a 10/100, and my network in the house is gigabit, and I want the PC in the garage to have gigabit access... which is why I'm doing this dual NIC setup and using the PC as a router, then the other devices in the garage will be 10/100.

In addition, I used the shell script as described in this article: [URL] to setup iptables. I also uncommented the net.ipv4.ip_forward=1 line in /etc/sysctl.conf. What am I doing wrong here? None of the devices in the garage that I connect up to the Ubuntu PC are getting connectivity. None are getting a DHCP lease from the main router in the house. The Ubuntu PC itself has internet access just fine though.

View 2 Replies View Related

General :: Setup Mail Server Behind A Router?

May 13, 2010

I've just finished installed a mail server with Fedora 12 + postfix + courier. I also have Squirrelmail and ISPConfig3 installed. The mail server is behind a router. I have [URL] pointed to the static IP at my router. My ISP has opened port 25 & 110 for me and my router has these 2 ports forwarded to my mail server (192.168.0.100).Workstations in local network can connect to my mail server and send emails with no problem but cannot receive emails from outside. I tried an email dossier and it saids connection timed out on smtp session. Do I need to include my static IP somewhere in the configuration so that it communicates to the world properly?

View 4 Replies View Related

Networking :: Network Configuration: Server - Router Vs Router-server

Aug 14, 2010

I am thinking of moving the router behind a server and connecting the server directly to the internet via a modem. Are there any security issues related to doing this? or other things I should be aware of. Iptables are implemented on the server blocking access on unused ports.

View 2 Replies View Related

Ubuntu Networking :: Setup A Router With Firewall?

Feb 9, 2010

I want to setup a router with firewall on ubuntu box that will connect windows pcs one serving as outside source and one serving as inside target.

View 2 Replies View Related

Ubuntu Networking :: Setup A Static IP If Have No Router?

Dec 1, 2010

I am trying to set up SSH so that I can edit files on a home server (linux). I know this question has been asked many times before, but none of the answers seem to apply to me.

Here's my setup. I have the modem connected to a switch (wired) that connects 2 PCs to the internet (one desktop, one server, both wired).

All of the threads I see that discuss static IPs seem to require that I set up a router. Is this necessary? Can I still transfer files through a switch?

View 9 Replies View Related

Networking :: Setup Mutil ISP Router

Sep 8, 2010

I would like to setup a Linux Router with Fedora. Here is what I have and would like to do...

Email filter device is on the LAN at 192.168.x.3. I need to provide SNAT to that device from both T1 interfaces...

All outgoing traffic will route through DSL except for traffic destined for addresses on either eth0 or eth1 (web sites).

I assume I would need the following:

I also assume I would need to setup iptables with FORWARDs for the 192.x.x.x networks to eth3.

What I am not sure how to do, is properly setup the incoming redirections so that the email filter can be access from both eth0 and eth1 by different IP addresses.

View 1 Replies View Related

Ubuntu Networking :: Setup As Router Box And WiFi Hotspot?

May 12, 2010

I've got an Ubuntu box set up as a router and wifi hotspot. I can access the internet and any website using this box. I can connect a laptop to my wifi access point, and connect to both the router box and the internet. I'm writing this message from it. If I access either hsbc Hong Kong internet banking or speedtest.net from my laptop I can't connect. Every other site I've tried is fine. What could be causing this? I don't know where to start. I've set up the firewall rules and routing tables, so I vaguely know what I'm doing... but clearly not enough to debug this issue.

View 3 Replies View Related

Networking :: Setup Laptop Running Ubuntu 10.04 Into Router?

Jun 18, 2010

\How can i setup my computer (currently running Ubuntu 10.04 lts) into a router so that other laptop can have a wireless connection to it and be able to access the Internet?

View 4 Replies View Related

Networking :: Setup A Router With Extended Range ?

Sep 12, 2010

I want to connect to my office intranet without utilizing internet, there is aprox 210 ft distance and i cannot locate my N router's signal even when i installed the router outside of the building, the server is redhat enterprise, and want to share filehosting and internet with the office to cut down costs.

Office building with intranet>--------<210ft>----------my apartment

I am willing to invest some money in this setup but undecided how to extend the network, someone told me i can use a router in repeater mode but i cannot find any such router, my employer has allowed me to use the office network (so nice of him) but at my own setup.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved