Re: [Dnsmasq-discuss] dnsmask respond to non-local network
Hi Joseph, Le Fri, 18 Nov 2016 15:56:07 + Joseph C Bond IVa écrit: > I have tried doing this, but it created some bigger problems. The > moment I added a second IP to the same interface my external router > was unable to route traffic correctly from the Raspberry PI onto my > VPN connection. I was still able to connect to the Raspberry PI when > in the same network, but NO traffic was possible from the VPN to or > from the Raspberry PI. > > Removing the second IP on the interface returned the system to normal. See below. > Any other way I can make dnsmasq respond to requests from the other > subnet? Or is there a way to disable the protection that dnsmasq has > that prevents it from replying to a different subnet? You'll need one machine sitting on both networks, either the dnsmasq server or a DNS relay; and if your dnsmasq server could not properly work with two IPs, then there is no reason the relay would work any better. So in any case, you need to get a machine running with one IP on each subnet. Since you've tried already with your dnsmasq machine, let's start from there. When you tried adding an IP address to it: - how /exactly/ did you proceed? (which commands? which arguments?..) - what output did the /route/ command produce before adding the second address? After adding the second address? > Thank you again for any help. NP. Amicalement, -- Albert. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] dnsmask respond to non-local network
Hi Joseph, Le Thu, 17 Nov 2016 15:57:48 + Joseph C Bond IVa écrit: > Sorry if this has been answered elsewhere but I can't seem to find > the answer anywhere. > > I have a Raspberry PI 3 running a copy of dnsmasq to provide DHCP and > DNS services for my local network. This works perfectly. > > My internal network is 192.168.21.1/24. The Raspberry PI is on a > static IP within this network. My external router assigns any VPN > client an address within the 192.168.23.1/24 network and does all > required routing so that clients on that network can reach hosts on > the internal network. > > When I connect via VPN obviously my system has a 192.168.23.x address > and dnsmasq ignores all DNS queries. > > How can I tell dsnmasq to reply to DNS queries from the > 192.168.23.1/24 network as well? Do the two subnets coexist on the same physical segment(s)? If so, then giving the host running your dnmasq an IP address in the 23.* subnet *should* get you there. (watch out for other services, though, which you may or may not want to run on both subnets.) > Thank you in advance for all your help. Amicalement, -- Albert. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] dnsmask respond to non-local network
Sorry if this has been answered elsewhere but I can't seem to find the answer anywhere. I have a Raspberry PI 3 running a copy of dnsmasq to provide DHCP and DNS services for my local network. This works perfectly. My internal network is 192.168.21.1/24. The Raspberry PI is on a static IP within this network. My external router assigns any VPN client an address within the 192.168.23.1/24 network and does all required routing so that clients on that network can reach hosts on the internal network. When I connect via VPN obviously my system has a 192.168.23.x address and dnsmasq ignores all DNS queries. How can I tell dsnmasq to reply to DNS queries from the 192.168.23.1/24 network as well? Thank you in advance for all your help. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss