AT&T Holiday Deals & Gifts - Don't miss these holiday deals on the latest devices!
tscracraft's profile
Tutor

Tutor

 • 

4 Messages

Sun, Nov 3, 2019 5:49 PM

Raspberry Pi Webiopi Site Host - Cannot connect while on local address. Outside network works fine

Setup:

Modem/Router - BGW210-700

     - Port forwarding configured for port 8000 to redirect to Raspberry pi

Raspberry pi running WebIOPi

     - connected via ethernet cable to port 1

     - local IP address = 192.168.0.xxx

     - Webserver host port = 8000

     - Hosting a html page.  Single page, that has 1 button.  Push the button, it engages a relay.  Push it again, the relay disengages.

Android phone

     - connected via wi-fi to the BGW210-700 via 5GHz

Computer

     - connected via ethernet cable to port 2

 

Connection works when:

1. Phone is on Wi-Fi and I connect to the local address 192.168.0.xxx:8000

2. Phone is on cellular data (Wi-Fi disable) and I connect to the outside address (107.xxx.xxx.xxx:8000)

3. Computer connects to local address - 192.168.0.xxx:8000

 

Connection DOES NOT work when:

1. Phone is on Wi-Fi and I connect to outside address (xxx.xxx.xxx.xxx:8000)

2. Computer connects to outside address (xxx.xxx.xxx.xxx:8000)

Eventually the page will load, but there is about a 2-3 minute delay.  Most of the time, the page times out without loading

 

I suspect a firewall is blocking it but I can't seem to find anything.  I appreciate any help I could get.

 

 

Accepted Solution

Official Solution

JefferMC

ACE - Expert

 • 

16.9K Messages

3 years ago

AT&T requires the use of one of their Gateways and none of them do NAT loopback well.  If your router does NAT loopback, then that would solve your issue better than the DNS scheme.

 

There are many articles here that cover it, but mainly:

1) Connect your router's WAN port to a LAN port of the Gateway, and set it to obtain its outside address via DHCP (a fairly normal setup)..  Set its LAN site up like you want your home network to be addressed.  It's best if you don't use the same private subnet for the Gateway's LAN and the Router's LAN, so change the Gateway's if it has the IP range you want the Router to have.

2) Log in to the configuration portal of the Gateway and (under Firewall) set up IP Passthrough / DMZplus mode (same thing, name depends on the Gateway brand) for your router.  

3) Turn off both.  Turn on the Gateway, then the router.  

4) The router should come up with a public external IP address (same as the Gateway's)

5) Remove any port forwarding on the Gateway

6) Set up your port forwarding on the Router.

 

ATTCares

Administrator

 • 

105.4K Messages

3 years ago

We're here to help, @tscracraft!

 

To further troubleshoot this, could you provide us with the specific reason why you're having connect to your outside address of (https://soc.att.com/2pybsdb)?

 

Let us know- we look forward to hearing back from you!

 

Donovan, AT&T Community Specialist

Tutor

 • 

4 Messages

3 years ago

Hello Donovan,

I am using the raspberry pi to control my garage door opener.  I use a browser on my phone to connect to the html server (hosted by the raspberry pi, listening on port 8000).  If I pull up to my house (outside of wifi range) I have to connect to the external IP to connect to the raspberry pi.  However, if I get close enough, the phone connects to the wifi and then I have to connect to the internal IP address.

 

 

The port on the external IP should be forwarded to my internal.  So, regardless if I am on the wi-fi or mobile, it should end up at 192.168.0.xxx:8000.  Unfortunately, it doesn't work.

JefferMC

ACE - Expert

 • 

16.9K Messages

3 years ago

The AT&T Gateway firmware doesn't do NAT loopback well, if at all.  So, trying to use the external address while in your network is going to be problematic.  I would suggest that you set up some Dynamic DNS for external and an internal DNS for your local network, but... um, you can't change your DNS on the gateway, so you would have to get another router involved to do that.  And you could still have issues with stale DNS caching since you're sitting at the border of your network and could get the DNS resolved via cell network (external), then try to use that once Wi-FI connects (or vice versa).

 

Tutor

 • 

4 Messages

3 years ago

This is quite disappointing.  Could you recommend another modem that I could purchase?  I do have another router I could add into the mix if needed.  Can you explain how to set it up?

ATTCares

Administrator

 • 

105.4K Messages

3 years ago

@tscracraft.

 

As stated by @JefferMC, setting up your 3rd party router on the network may solve this for you, and they listed out some great steps to follow.

 

We'd recommend following the steps to see if hooking up that router allows you to connect your garage door opener.

 

Let us know if this solution works for you!

 

Ramses, AT&T Community Specialist

Tutor

 • 

4 Messages

3 years ago

Hello Ramses/@ATTCares.  Setting up the IP passthrough worked as @JefferMC suggested.  I had a slight problem with the previous DHCP lease time, but I just factory reset the gateway, then reconfigured everything.  Working as expected now.

ATTCares

Administrator

 • 

105.4K Messages

3 years ago

Thanks for letting us know you got it figured out, @tscracraft.

If you have any other questions or concerns, feel free to post on the forums.

Thank you for choosing AT&T!

John, AT&T Community Specialist

JefferMC

ACE - Expert

 • 

16.9K Messages

3 years ago


@tscracraft wrote:

Hello Ramses/@ATTCares.  Setting up the IP passthrough worked as @JefferMC suggested.  I had a slight problem with the previous DHCP lease time, but I just factory reset the gateway, then reconfigured everything.  Working as expected now.


Great!  Glad to hear you got it working.

 

Trending Accepted Solutions (30 days)

(22561)

Accepted Solution

Official Solution

"Port Range" for Uverse router and Direct TV Genie reciever

I'm trying to configure my Uverse router so I can connect my Direct TV DVR/receiver to my router.  Does anyone know the "port range" that should be entered when configuring the Uverse router for my Direct TV Genie DVR/receiver?  Thanks

Questions

 • Internet

9.8K

1

0

0

Accepted Solution

Official Solution

Raspberry Pi Webiopi Site Host - Cannot connect while on local address. Outside network works fine

Setup:Modem/Router - BGW210-700     - Port forwarding configured for port 8000 to redirect to Raspberry piRaspberry pi running WebIOPi     - connected via ethernet cable to port 1     - local IP address = 192.168.0.xxx     - Webserver host port = 8000     - Hosting a html page.  Single page, that ha

Questions

4.3K

9

0

0

Accepted Solution

Why do the prices change?

Tuesday i began investigating upgrading my phones. I have a family plan with 5 phones all eligible for upgrades. 3 of the phones that i was interested in were  The Fuze a Quckfire and the Sony Erricson W760a. All  released in the last few days or so. My wife and i visited a local Corp store  and a l

Questions

 • Wireless

3.9K

6

0

0

Accepted Solution

Official Solution

Motorola xoom wireless connection

Hi,   I am having difficulties connecting my xoom to my verse network at home. My router is set at WEP-Open. The xoom finds the router and prompts me for the password. The hand shake is done and then the xoom has trouble acquiring an IP address and just sits there trying. I have never had problem wi

Questions

 • Internet

2.4K

0

0

0

Accepted Solution

Google Pixel 4XL unlocked unable to activate wifi calling APP0008

I visited a store and they have listed under non-ATT branded phone Google Pixel 4 XL to be compatible with WiFi calling, yet I'm getting APP0008 error. Phone is unlocked from Best buy.

Questions

 • Wireless

2.4K

59

0

Not finding what you're looking for?
New to the AT&T Community? Start by visiting the Community How-To.
New to the AT&T Community?
Visit the Community How-To.