Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I have a slightly tortuous networking problem. My ADSL broadband connection comes into my house in the ground floor front room. The office is in the back top floor bedroom. I currently have a hardware ADSL wireless router connected to the phone socket in the front room that links up to the back bedroom. From there, I have a wireless card in the back of one Linux box . The link operates on the 192.168.1.0/24 network.
I also have two other machines plugged into the back of the Linux box via cross-over LAN cables. These machines work on the 192.168.0.0/24 network. The Linux box routes packets between the two networks to give internet access to all machines. The ADSL router is using NAT to connect to the internet.
However, I have (at another location) another Linux box which acts as an ADSL router/server. This box, apart from running a NAT ADSL routing service to the simple network behind it, runs things like my webserver, ftp, DNS, mail etc etc. This network is soon to be closing down though.
Since this other Linux box is old, I'm interested in using the Linux box (ie the one with the wireless card) to provide all the web services that the 'other' Linux box currently supplies. Since it runs so many services, it seems silly to implement destination NAT on each service on my hardware ADSL router. Thus, I'm keen to put the web services in some kind of demilitarised zone (DMZ) in order to allow the box to manage it's own firewalling etc.
What is the best way to do this bearing in mind that this Linux box also acts as the network router? Could I alias the wireless card with another IP that can be used for the DMZ? Is it sensible to use the box for the DMZ? Essentially, I want the one Linux box to act as an internal network router, but also as an external server - is this possible?
You can either use the DMZ function on the aDSL modem to set the server/router as the DMZ host, and firewall at the machine - or you can disable NAT on the modem altogether and implement it at the server itself.
iptables is your friend
Last edited by PenguinPwrdBox; 09-24-2005 at 12:34 AM.