[SPAM] Re: [Voyage-linux] Huawei E160

Frank Parker (spam-protected)
Thu May 21 22:59:45 HKT 2009


You are getting a 10.0.0.0 address which is RFC1918, so yes it is being NAT'd.

Check your address as it appears to the outside world, like this:

curl http://checkip.dyndns.org

If you don't have curl installed.  Try wget:

wget -qO /tmp/checkip.html http://checkip.dyndns.org && cat /tmp/checkip.html

--parker



On Thu, May 21, 2009 at 7:41 AM, Robert Rawlins - Think Blue
<robert.rawlins at thinkbluemedia.co.uk> wrote:
> Hi Wayne,
>
> The local and public IP's on the interface are both different to that which
> is displayed on the remote sites as my IP when I'm hitting them. The ppp
> interface looks like this:
>
> ppp0      Link encap:Point-to-Point Protocol
>          inet addr:10.90.235.192  P-t-P:10.64.64.64  Mask:255.255.255.255
>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:3
>          RX bytes:2498 (2.4 KiB)  TX bytes:1359 (1.3 KiB)
>
> Hopefully the provider isn't nating the service, are you able to tell from
> those details or will I need to contact them?
>
> I've not made any modifications to the IP tables myself, this is a
> completely clean voyage 0.6.0 build with just wvdial installed, I've not
> made any changes to configurations outside of that.
>
> Thanks mate,
>
> Rob
>
> -----Original Message-----
> From: Wayne Lee [mailto:linkconnect at googlemail.com]
> Sent: 21 May 2009 15:09
> To: Robert Rawlins - Think Blue
> Subject: Re: [SPAM] Re: [Voyage-linux] Huawei E160
>
> On Thu, May 21, 2009 at 2:47 PM, Robert Rawlins - Think Blue
> <robert.rawlins at thinkbluemedia.co.uk> wrote:
>> OK Seems like I now have this working! :-D
>>
>> Seems that it was connecting just fine but the reason I couldn't ping
>> anything was because I was connected via Ethernet to the box and the
> default
>> route wasn't being set properly when the GPRS ppp connection was
>> established.
>>
>> I edit /etc/ppp/peers/wvdial and added the option 'replacedefaultroute'
> and
>> now when the connection is established I can ping and wget using the ppp
>> connection :-)
>>
>> One thing I have been unable to do though is connect inbound via SSH using
>> the ppp connection, I can still only connect using the Ethernet. I've done
> a
>> wget on an URL which gives me the boxes remote IP address on the ppp
>> connection however trying to connect via SSH on that IP from another
> system
>> doesn't seem to work.
>>
>> Any suggestions on what I might need to do to get those inbound
> connections
>> working?
>
> Some of the 3g providers NAT your connection so inbound services will not
> work
>
> What is the IP on your ppp interface ?
>
> Also do you have iptables blocking inbound ssh ?
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>




More information about the Voyage-linux mailing list