Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 May 2013 19:43:30 +0100
From:      Joe Holden <lists@rewt.org.uk>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ppp(8) and inbound IP connections
Message-ID:  <51894B52.2050903@rewt.org.uk>
In-Reply-To: <20130507181345.GA992@tiny.Sisis.de>
References:  <20130507181345.GA992@tiny.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Apitz wrote:
> 
> Hello,
> 
> I'm using ppp(8) for many years to connect via UMTS to my service provider
> and Internet, actually www.fonic.de; all this works fine already for long
> time, works fine for outgoing TCP and UDP connections to Internet.
> 
> Until now, I did not care about incoming TCP connections, for example for
> SSH'ing from remote to my netbook, connected via ppp(8), or for incoming
> SIP; it turns out now,, that I can:
> 
> - check with "lynx -dump myip.nl | fgrep WAN" with which addr I show
>   up in Internet:
> 
>   $ lynx -dump myip.nl | fgrep WAN
>           WAN IP adres: 82.113.99.104
> 
> - can SSH fine to some remote server, 
> 
> - but can not SSH back to the addr 82.113.99.104;
> 
> I contacted the provider thinking that he is blocking all IP connects which
> have not been originated by a SYN pkg from my side; but he claims not
> blocking anything; and now? how can I debug this?
> 
> My interface looks like this:
> 
> 
> tun6: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
> 	options=80000<LINKSTATE>
> 	inet 10.33.28.104 --> 10.64.64.64 netmask 0xffffffff 
> 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 	Opened by PID 799
> 
> and the routing is:
> 
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif Expire
> default            10.64.64.64        UGS         0     1694   tun6
> 10.33.28.104       link#7             UHS         0        0    lo0
> 10.64.64.64        link#7             UHS         0        1   tun6
> 127.0.0.1          link#6             UH          0       75    lo0
> 
> Any ideas about this? Thanks.
> 
> I'm attaching the ppp.conf file.
> 
> 	matthias
> 
It seems quite clear from your ifconfig output that your provider 
doesn't give you a routable address, so you will never see inbound 
connections.  Usually providers have an alternate APN that will give you 
one, but that depends on the provider in question.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51894B52.2050903>