Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First, i 'd like to clear out the terminology. I want my ADSL router to let the internet connection "pass" to a pc, that will work as a router, firewall, etc; the router will only work as "switch" and i will "bridge" the router and the PC.
I have also heard, that i need a client for this- a Windows one. Is there a Linux client?
Thanks
If you connect just one machine to your router, and disable all firewall services of your router (i.e. open all ports and everything else to that machine), then the router is effectively pass-thru and you can use the machine for whatever you want.
Connect just one machine to your router and if your router supports it, set up that machine as the DMZ host (you configure that on your router). Then you can do whatever.
The problem with both of those cases (well maybe not with DMZ, I honestly don't know much about it), is that your router is still a router and not a switch so there will still be some NAT going on and the one machine you have connected to the router will still have a "LAN" IP.
If your ADSL modem has ethernet out, you can connect it directly to your machine. In that case you will need to set up PPPoE or whatever you need to use on your machine (the router normally let's you set this up, but if you remove the router you need to do that from the machine itself). That may be the "client" stuff that you were hearing about. I don't know how to set that up on Linux (but I know you definitely can), but you can probably Google for it if you know your connection method. In this way the computer would entirely take the place of the router's firewall and port mapper, and you can get a regular router/switch/whatever and put it on the local side of your machine. Of course, this doesn't work if your ADSL router is also the modem or if your DSL modem is putting out raw DSL line data (which looks like an Ethernet jack but the data is not the same... it's more like a beefy telephone line).
You'll need two ethernet cards in your computer, of course; one for the ADSL side and one for the LAN side.
In any case, hardware firewalls/routers are usually better (both in efficiency and security) than using a computer and their software counterparts, unless you have a particularly buggy router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.