Debian :: Setup Debian As A Router?

Jul 29, 2009

I'd like to setup my Debian Lenny as a router. Should I add in /etc/sysctl.conf


net.ipv4.ip_forward = 1




my kernel:


# uname -a

Linux debian 2.6.26-2-686 #1 SMP Sun Jul 27 22:26:44 UTC 2009 i686 GNU/Linux

View 3 Replies


Debian :: Setup Dnsmasq On A Network That Already Has A Router?

Feb 17, 2010

I am trying to get more control of my small office network. It consists of several windows workstations, a debian box, and a ZyXEL P-660HW-D1 router, Right now, the only way to reach the debian box from other computers is to type in its ip address.

The goal is to be able to reach the box by just typing ://debianBox into my browser, though ideally I want to set it up to be something like ://debianBox.officenet, and to also reach other people's computers by typing ://mattBox.officenet and ://fredBox.officenet

The Zyxel router has a LAN page with a DHCP Setup tab with fields setup like so In the past I was able to mange this using an Orange router, but now I have to use the ZyXel.

So I installed dnsmasq on the debianBox, but I do not know how to configure it to get the results. I want and still get internet fromthe Zyxel router.

In the etc/hosts file of the debian box I added debianBox, and for testing on my windows machine I set the primary dns entry of the Ip4 connection to as well, but typing ://debianBox in my browser still gives me not found.

View 4 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 (itself) to, while the wireless router card assigns addresses from to (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 to, 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, 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.,,

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

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

Debian :: SSH Into Remote Computer Behind Router

Sep 6, 2010

My son needs me to do maintenance on his computer. He has a router installed for firewall purposes. I can see his router's IP address. How do I get past that address to his local address?

View 14 Replies View Related

Debian Configuration :: Cannot See Linux In Router

Jun 19, 2015

I cannot see my debian linux machine in my virgin media router>>attached devices. I can see everything else including my raspberry pi.

The box is headless but I connected up to tv temporary and did ifconfig and got the ip address. I can ssh to it and connect to minecraft server I have running on it but I would like to know why I cannot see it in the router.

View 4 Replies View Related

Software :: Router Like Web Frontend For Debian?

May 2, 2010

I'm configuring a debian computer to act as a router for my home network. I want to split my home network into two parts and define different firewall rules for these parts. I also want to use dhcp to make sure every time a computer logs in it gets the same ip but is still able to log in somewhere else. The biggest problem now is that I have to make some functions able to someone that has never worked with linux before.

I've worked with software routers like pfsense before and I would like a similar web frontend to this. Does anyone know if there is such a piece of software? I'm not using pfsense itself because I don't want to virtualize it and I need some things like the software raid5 and some htpc software I don't want to try to get working on pfsense. I've previously used webmin untill it was hacked because of an exploit in it so I preferably don't want to use that one. I've been working with the dd-wrt software and something like this would do the trick perfectly!

View 3 Replies View Related

Debian :: Router Or Bridge Mode And Pppoeconf?

Sep 24, 2010

I wonder what is your opinion about the best method for using an ADSL modem. Router or bridge? I did read some articles that say "that the bridge mode gives you more stability and has higher speed". Is that true?

Furthermore, you suggest any alternative to "pppoeconf"? I've been getting this errors ( in the plog), related to "PAD packet loss" and also errors in "PPPOE Discovery", even when I am connected. When this things starts to show up on the log, my connection "pauses" for some seconds. I do not feel very safe with this program.

View 3 Replies View Related

Debian :: Router Configuration And Certificates Warnings?

Apr 19, 2011

I've just bought a Linksys WRT610N router and I ran through various problems during the configuration, that brought some questions.Here is what I did to configure it (following the short manual that I got with the router)1. plugged the router in my modem and in my computer via ethernet cables2. entered its IP address (given on the manual) on my browser and logged in with the factory login3. changed the login passwordAfter this the problems that I have encountered are that:I set up the administration of the router to be disabled via wireless and enabled locally via https, but when saving those settings I either lost the connection (the browser telling me the server was not accessible) or asked confirm a security certificate after being (logically) redirected to the https version of the administration pageafter trying to loggin again, I wasn't able to login via https but only via http even if after logging those parameters were still as I set them (wireless administrative login disabled and local administrative login enabled only via https)

via https when getting something else than "the server is not responding or could be too busy", I was prompted the untrusted connection site, saying that" uses an invalid security certificate.The certificate is not trusted because it is self-signed.The certificate is only valid for Linksys.The certificate expired on 01/01/71 01:21. The current time is 19/04/11 22:56.(Error code:sec_error_expired_issuer_certificate)"I noticed that after loosing the connection and not being able to reach the router either with http or https, the only way I was then able to reconnect to it was to go into (I am using firefox 4 on squeeze) edit > preferences > advanced > encryption > view certificates > servers and delete the linksys certificate

View 4 Replies View Related

Debian Hardware :: Mac / IP Address Assigned By Router

May 29, 2014

I have 2 PCs, each running Oracle VirtualBox with about 30VMs installed and standing on the same table

On shopping router I found TP-Link

150Mbps Wireless N Router
[URL] ....

How can it assign 30 IP address to each PC?

View 0 Replies View Related

Debian :: Networking Disabling Interface When Router Is Down?

Jan 27, 2011

I have a Debian computer with 2 network interfaces. Ath0 for wifi and eth0 for cable.
They're configured as dhcp and are getting their ip from different routers. When I shut down one of the router, it takes 5 minutes for the ip address to "Go away". I would like this to take a shorter time. I figured it must be a setting, but my attempts so far have been unsuccessfull. Is there a way to do this?

I'm using dhcp3-client (dhclient) as my client.

View 4 Replies View Related

Networking :: Debian 5 Box With Two Nics Acting As Router?

Jul 29, 2011

I have a Debian 5 system with two nics. eth0 is set up with dhcp-client which will receive a public ip address from my isp. The eth1 will be for my local network and I want to use dhcp-server daemon to serve addresses to my internal network. The area I am confused about is how transmissions are getting sent between nics. I've been told to enable tcp forwarding but I don't understand how that would work since the nics have different network addresses... unless tcp forwarding is basically nat or something..

View 2 Replies View Related

Networking :: Get Debian To Broadcast Its Host Name To Router?

Dec 4, 2009

I have a router and when my Debian machine connects I get "null" as the host name. How can I get it to display the host name?

View 11 Replies View Related

Networking :: How To Set Up Router Default Web Page On Debian / GNU?

Oct 10, 2009

I have set up a LAN/WLAN, DDNS server, DCHP server, and a proxy/NAT server using Debian/GNU. Now I would like to redirect the host web browser to a welcome web page so the users of my network can read the terms of use and accept them before having access to the internet. Could some one help me to achieve this?

View 2 Replies View Related

Debian :: Block A Router From Giving Me A Dhcp Address

Aug 18, 2011

I get assigned an IP from the university's server. Every now and then, a student will plug in his router to the network trying to get wifi in his/her room.

And by doing so will start assigning IPs on the network, while rendering useless the university dhcp server, which has to cope with a higher number of pc's.

How can I specify to dhclient (or the linux system in general) NOT TO obtain IP addresses given by a specific mac address ?

View 7 Replies View Related

Debian :: Trouble Configuring Netgear Modem Router

Jun 27, 2010

I am trying to configure my ADSL modem/router. According to the manual it should go as this: For the initial connection to the Internet and configuration of your router, you need to connect a computer to the router which is set to automatically get its TCP/IP configuration from the router via DHCP.

View 5 Replies View Related

Debian Configuration :: How To Connect To Hostnames Over LAN That Router Assigns

Sep 29, 2015

So I have a router that I've gotten from my ISP, which seems to run a hardened, custom version of OpenWRT. By that I mean it's read-only and has a lot of files mostly in RAM. So putting custom firmware on it is not an option for me right now, as it's by only router. Actually, it's not just a router, it's an Actiontek modem/router combo.

So anyway, lets say I have a machine on my LAN and I want to basically SSH into a box by hostname. Now the thing is, I prefer using OpenDNS (previously OpenNIC) as my DNS, and so I don't use my router as my nameserver, though I could do that.

So how do I connect to my machine by hostname? I would prefer a solution that does not use Avahi/Zeroconf or editing the hosts file. People have said setting up a local DNS server might be okay, but I'd have to do that for every machine I'd want added to my network. Kind of almost as bad as editing a static hosts file. I use really want to use DHCP over static IP assigning, and the one on my router is not as advanced, so I can't use my hosts file. And also,

So is Zeroconf the only solution? I'm not sure how to set up Zeroconf. Do you just install Avahi?

I want a simple, almost Arch-linux solution, lean and clean, using only the most minimal software. I don't care how much configuring I'd have to do, as long as it's going to stay reliable as well.

View 2 Replies View Related

Debian Configuration :: How To Set Up Remote Login Behind Netgear Router

May 25, 2011

I have just setup a debian box, and I want to be able to login to the machine remotely.Currently I have the following setup:Cable Modem -> Netgear Router (DHCP to outside world) -> Debian Box (DHCP for internal network)As I under stand it I have to set my Debian Box to use a static IP, but from there I di not know where to go.Also since my cable modem IP is dynamic, is there some way to have that the debian box get the IP address for the outside world, and e-mail it to my gmail account when it changes, or least every X hours?

View 1 Replies View Related

Debian Hardware :: Don't Get Disconnected But After It Freezes Can't Even Reach The Router By Its Ip?

Apr 18, 2011

For some time my wireless was working perfectly but now if I do something that uses more bandwidth - the connection freezes. Takes a minute when using torrents @400kb/s. Wireless starts to work for some time if I reconnect to router but stops again if the load is same. I don't get disconnected but after it freezes I can't even reach the router by its ip. Any ideas?02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Subsystem: AzureWave Device 1089
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d1800000 (64-bit, non-prefetchable) [size=64K]


View 2 Replies View Related

Debian Configuration :: Using WiFi Router On Eth1 Bridged To Eth0

Dec 13, 2015

I am running : Linux ics385 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux

Here's the situation

1. I'm trying to configure a WLAN using a D-Link DLR655 wifi router that is connected to eth1.

2. eth0 is connected to the ISP's DHCP router and has the IP

3. I've bridged eth0 to eth1 such that eth1 has the static IP

4. I've manually configured the router and it uses the as the WAN address with its subnet on the 192.168.10.* address space.

5. I can connect a laptop to the D-Link using wifi and ping but I can't ssh to it or to anything beyond it from the laptop.

6. If I'm on the server ( I can ssh into either or but not if I'm on the laptop. I conclude from this that ssh is not the problem but the laptop says ssh: connect to port 22: connection refused.

So, am I conceptually confused or is it that I have to open ssh up to the other sub-net address spaces or something like that?

View 5 Replies View Related

Debian Configuration :: ADSL - Router Should Handle Everything Automatically And Transparently

Feb 3, 2010

The router should handle everything automatically and transparently. All you need to do is make sure that the wireless Ethernet adapters in the laptops can "talk" to the wireless router.

View 4 Replies View Related

Debian Configuration :: Adding Router For Mail Service Function?

Jun 10, 2011

I'm building a Debian based router, I want to add to this router a mail service function. I don't want mail to be sent outside of the network, what I want is the ability for services to send mail to the Debian server and for me to then pick them up from this server via pop3 into my normal mail application. Given I'm not looking for mail to be sent outside of the network and its strictly for services to log notifications via. What of the various mail applications should I setup? i.e. just looking for SMTP + POP3 internally.

View 5 Replies View Related

Networking :: Debian Router, 2 NIC, Traverse Viking ADSL+ Card?

Jan 6, 2010

Since this is my first post, before i describe my problem, i'd like to say regrats to all of you for maintaining here such a good support community.

So, here we go: I have a headless Debian box and i want to set it up as a small office router/gateway. On the box i installed a regular NIC and a Viking Traverse ADSL+ Card which gets recognised by the OS as an 8139 ethernet card and has an embedded ADSL+ modem. The modem is accesible through the PHY interface once it gets assigned an IP. Having said that here is the actual setup:

eth0 : Viking Card
eth1 : NIC (this NIC is connected to a switch)
eth0 : (internal modem is on
eth1 :


View 1 Replies View Related

Debian Configuration :: Unable To Get Intel Pro/wireless 3945abg Connected To Router

Mar 2, 2010

I am unable to get my intel pro/wireless 3945abg connected to my router. The firmware has been installed and at first was even able to connect, but now the access point doesn't even show up in network manager. I am currently able to connect using a USB wireless adapter, but for certain reasons, would prefer to use the former. I've looked over this page with no results.

View 7 Replies View Related

Debian Configuration :: How To TFTP Router Configurations To A Server In The Same Local Networ

Jul 27, 2010

I'm trying to TFTP router configurations to a server in the same local network without having to first make files in the server's TFTP directory . The transfer of a config file from router to server works perfectly if I make a file with touch and then chmod the file with 777. I found information that says to use the -c or --create option in the TFTP configuration file (/etc/default/tftpd-hpa) if you want TFTP to work without having to create the files first. The problem is, I have set this parameter and restarted TFTP , but it is not working.

Here is my /etc/default/tftpd-hpa file:

# /etc/default/tftpd-hpa


View 7 Replies View Related

Debian Configuration :: WiFi Router Doesn't Give Internet To Other Devices Connected

Oct 21, 2015

When I connect my Debian PC to my WiFi router my PC doesn't get internet if other devices are connected to it .

When i disconnect those devices and connect my Debian PC only then my PC connects to internet but other devices connected to it later do not get inernet connection.

When I connect my Debian PC using LAN Cable to the same router all devices work fine.

View 11 Replies View Related

Debian :: How To Setup A Server

Dec 14, 2010

I work for a small business that is in need of a web host change, because we're apparently getting too big for our current web host. Being the IT tech for the small business, it's up to me to get this website of ours moved to something that can host us with no trouble. After doing research and listening to other local small businesses with similar problems, we've decided to settle with Amazon's EC2 service. Since their "instances" will almost act like virtual private servers with our own choice of OS, and offering a pay what you use service with seemingly no limits, it fits our demands quite well. But, before we just go sign up and try to get this working, I need to first try and figure out how this is done. Truth be told, I have never once set up my own server, so this is mostly completely foreign to me, though I am willing to learn whatever it takes to get this done.

How exactly does this involve Debian, you ask? I'll explain. Before I took over as the IT tech, the previous guy (who left and moved away to earn his PhD) helped me learn a little bit of stuff before he left. He did so by having the business buy the necessary pieces to build a computer from scratch, and installed Debian as the OS. I learned enough Debian to do simple things like use the terminal, setting up crontab and other innocuous little things. It wasn't until after he had left that we found out that our current web host is finding our website getting too big for them to handle. As I still remain in contact with the previous guy in between his work on his PhD, he agreed with our choice on using Amazon EC2 as our host, but also suggested before starting up with them, to attempt to see if I can get the website to work on this Debian machine, and to mimic the same procedure on the Amazon instance once we sign up to make the change as quick as possible.

The problem with this stems back to what I said earlier, in that I have no idea how to set up a web server, and my knowledge with Debian is quite limited. I have no idea how to set up our website (which I have downloaded everything for it already) on this machine so I can see if it works, and then replicate the work on the Amazon instance (to which I would choose Debian as the OS). I figured there must be guides somewhere to help an idiot like myself in doing this, but I've had little luck in finding anything of the sort. The best I have found was installing LAMP and ensuring Apache, PHP and MySQL (the languages our website uses) and have followed that, but beyond that I have no further idea. Other guides I have found really only teach how to install other languages and packages that our website doesn't use. Which is why I'm here.

View 14 Replies View Related

Ubuntu Servers :: Setup A VPN Without A Router?

Apr 10, 2011

Is it possible to set up a (Open)VPN server without havning the server behind a router (NAT)?

My ISP allows me to have multiple IP addresses (assigned by DHCP).

View 6 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

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

Copyrights 2005-15, All rights reserved