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

2017-12-22 Thread Pascal Hambourg
Le 23/12/2017 à 00:46, Phil Reynolds a écrit : On Fri, 22 Dec 2017 10:59:24 +0100 Pascal Hambourg wrote: How does it know the router address if there is no route ? Maybe the output of the following command is more complete : ip -4 route show table all http://paste.debian.net/1002048/ The

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

2017-12-22 Thread Phil Reynolds
On Fri, 22 Dec 2017 10:59:24 +0100 Pascal Hambourg wrote: > How does it know the router address if there is no route ? > Maybe the output of the following command is more complete : > > ip -4 route show table all http://paste.debian.net/1002048/ > Is the IPv4 configuration static or dynamic (

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

2017-12-22 Thread Pascal Hambourg
Le 22/12/2017 à 09:56, Phil Reynolds a écrit : Pascal Hambourg wrote: Le 21/12/2017 à 12:10, Phil Reynolds a écrit : Pascal Hambourg wrote: How are TCP/IP parameters configured on the client ? Could you show its routing table ? Output of "route" on it: Destination 192.168.0.0 Gateway

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

2017-12-22 Thread Phil Reynolds
On Thu, 21 Dec 2017 20:57:09 +0100 Pascal Hambourg wrote: > Now you seem to have found a rather good solution (not based on some > hackish NAT, convoluted routing or complex split DNS), it may be > uselee to carry on this thread, but I am just interested and curious. > > Le 21/12/2017 à 12:10,

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

2017-12-21 Thread Pascal Hambourg
Now you seem to have found a rather good solution (not based on some hackish NAT, convoluted routing or complex split DNS), it may be uselee to carry on this thread, but I am just interested and curious. Le 21/12/2017 à 12:10, Phil Reynolds a écrit : On Thu, 21 Dec 2017 07:23:06 +0100 Pascal H

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

2017-12-21 Thread Phil Reynolds
On Thu, 21 Dec 2017 11:10:40 + Phil Reynolds wrote: > On Thu, 21 Dec 2017 07:23:06 +0100 > Pascal Hambourg wrote: > > 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 i

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

2017-12-21 Thread Phil Reynolds
On Thu, 21 Dec 2017 17:30:25 +0900 メット wrote: > Try setup asterisk address as ANY ie. > 0.0.0.0. > > Then asterisk will act on both addresses. That is probably the equivalent of the default, i.e. no address specified, which fails as indicated. I will however try it later. -- Phil Reynolds ma

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

2017-12-21 Thread Phil Reynolds
On Thu, 21 Dec 2017 07:23:06 +0100 Pascal Hambourg wrote: > How are TCP/IP parameters configured on the client ? > Could you show its routing table ? Output of "route" on it: Destination 192.168.0.0 Gateway * Genmask 255.255.255.0 Flags U Metric 0 Ref 0 Use 0 Iface wlan0 Output of "route -A in

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

2017-12-21 Thread メット
On 2017年12月21日 15:23:06 JST, Pascal Hambourg wrote: >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 o

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

2017-12-21 Thread メット
On 2017年12月21日 15:23:06 JST, Pascal Hambourg wrote: >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 o

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

2017-12-20 Thread Pascal Hambourg
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

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

2017-12-20 Thread Phil Reynolds
On Wed, 20 Dec 2017 21:08:21 +0100 Pascal Hambourg wrote: > IIUC, both the public and the private subnets are on the same > physical LAN ? Yes, that is correct. > > If I set up Zoiper to use the FQDN of the Asterisk box, it > > connects > > I guess you mean the public domain name pointing t

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

2017-12-20 Thread Pascal Hambourg
Le 19/12/2017 à 19:22, Phil Reynolds a écrit : I have a network with a Debian router, using iptables for NAT and firewalling. Connected to it via a Wi-fi acces point is, among other things, an Android phone. This is mosty relevant in that I cannot vary its settings very much, other than by changi

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

2017-12-20 Thread Tom Furie
On Wed, Dec 20, 2017 at 12:25:24PM +, Phil Reynolds wrote: > On Tue, 19 Dec 2017 18:22:47 + > Phil Reynolds wrote: > > If I set up Zoiper to use the FQDN of the Asterisk box, it connects > > just fine when I am not at home. However, when I am at home, it still > > uses the public IP addres

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

2017-12-20 Thread Phil Reynolds
On Tue, 19 Dec 2017 18:22:47 + Phil Reynolds wrote: > If I set up Zoiper to use the FQDN of the Asterisk box, it connects > just fine when I am not at home. However, when I am at home, it still > uses the public IP address (192.0.2.51) of the Asterisk box, which, > because it can see the phone

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

2017-12-19 Thread Phil Reynolds
I have a network with a Debian router, using iptables for NAT and firewalling. Connected to it via a Wi-fi acces point is, among other things, an Android phone. This is mosty relevant in that I cannot vary its settings very much, other than by changing them on the router. I have IPv6 on the networ