Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190076

Re: Debian networking - accessing public-side servers from a private network

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Debian networking - accessing public-side servers from a private network
Date 2017-12-21 07:30 +0100
Message-ID <uZ2wF-7hz-3@gated-at.bofh.it> (permalink)
References <uYv7H-22h-17@gated-at.bofh.it> <uYSQF-17c-7@gated-at.bofh.it> <uYXdE-3Jn-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 21/12/2017 à 01:48, Phil Reynolds a écrit :
> 
>>> At no point does the router get involved in the communication
>>> between the phone and the Asterisk box. To do so might make things
>>> easier, or could just add an unnecessary layer of complexity.
>>
>> How does the private client know that the public server address is
>> reachable directly on the LAN an not through the router ?
> 
> That I couldn't say, but it's plainly the case.

How are TCP/IP parameters configured on the client ?
Could you show its routing table ?

>>> - If I could get the phone to pick up the private address of the
>>>     Asterisk box rather than the public one, that would probably
>>> work. I have tried setting up to do this with dnsmasq, but the IPv6
>>> settings for DNS cause this to be overridden. If I could somehow
>>> change the priority of this on the phone, it would help.
>>
>> All the IPv4 and IPv6 nameservers used by the client must resolve the
>> name into the private address. If they also serve the public zone,
>> you must set up "split DNS" to server different versions for private
>> and public clients.
> 
> Unfortunately I have found no way to override the radvd-provided DNS
> server addresses - otherwise I would have done this.
Aren't you in control of the router configuration and which IPv6 DNS 
servers are advertised in the RAs it sends (radvd ?), and of these 
servers behaviour ?

Just another thought : isn't it possible to set up Asterisk to listen 
explicitly on both the private and public IPv4 addresses instead of any 
local address, so that it opens two separate sockets ? This way I think 
it would reply with the proper source address.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Debian networking - accessing public-side servers from a private  network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-19 19:50 +0100
  Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-20 13:30 +0100
    Re: Debian networking - accessing public-side servers from a private  network Tom Furie <tom@furie.org.uk> - 2017-12-20 14:00 +0100
  Re: Debian networking - accessing public-side servers from a private  network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-20 21:10 +0100
    Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-21 01:50 +0100
      Re: Debian networking - accessing public-side servers from a private  network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-21 07:30 +0100
        Re: Debian networking - accessing public-side servers from a private network メット <mett@pmars.jp> - 2017-12-21 09:30 +0100
        Re: Debian networking - accessing public-side servers from a private network メット <mett@pmars.jp> - 2017-12-21 09:40 +0100
          Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-21 12:20 +0100
        Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-21 12:20 +0100
          Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-21 15:10 +0100
          Re: Debian networking - accessing public-side servers from a private  network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-21 21:00 +0100
            Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-22 10:00 +0100
              Re: Debian networking - accessing public-side servers from a private  network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-22 11:00 +0100
                Re: Debian networking - accessing public-side servers from a  private network Phil Reynolds <phil-debian@tinsleyviaduct.com> - 2017-12-23 00:50 +0100
                Re: Debian networking - accessing public-side servers from a private  network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-23 01:10 +0100

csiph-web