LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-26-2014, 01:53 AM   #1
THpubs
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Rep: Reputation: Disabled
How to force the network machines to use the local DNS and the proxy?


Im about to setup a local dns server and a proxy server in the same machine (A raspberry pi). It will be connected to the network just like all the other computers, through a switch. The switch is connected to a router (And I have several devices connecting to the router through wifi). I will disable the router's dns and use the local one

I need to make sure that all the traffic pass through the proxy and my dns server. Even if someone manually edit the dns in their machine. Is this possible? How can I do that?

Please note that the wifi router doesn't have complex features. Its provided by the ISP and I don't have a way to replace it because I use IPTV and it use the same router and the ISP doesn't allow us to change those settings.
 
Old 09-29-2014, 11:32 PM   #2
MisterBark
Member
 
Registered: Jul 2012
Location: Republic of Krakozhia
Distribution: Slackware & Zenwalk core + compile
Posts: 104

Rep: Reputation: 6
For the DNS it's quite simple, you only need to define your local ip as only dns server (it's in /etc/resolv.conf)

For the proxy, I am wondering if you really mean proxy or router/forwarder.
You could define this same Pi machine as gateway for all other computers, or you could put an HTTP server on it as a proxy server. It depends on what you mean by proxy.

You will also have to pay attention to the route table on all machines (route command) to make sure packets are going to the Pi when they are supposed to.
 
  


Reply

Tags
dns, network, proxy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NitroShare: Easily Send Files To Other Machines On The Local Network Linux, Windows LXer Syndicated Linux News 0 07-11-2012 11:30 PM
how to force users thru proxy in mixed network keevill Linux - Security 8 02-03-2011 09:23 AM
DNS settings on a local network JJJCR Linux - Networking 3 12-17-2010 03:16 AM
[SOLVED] Setting on DNS on local network jmc1987 Linux - Server 3 11-06-2009 03:01 AM
Is there a way to get a list of all machines in a local DNS? BrianK Linux - Networking 3 10-08-2008 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration