ActionTec GT701-WG Port Forwarding
So I was trying to activate port 80 forwarding on my ActionTec GT701-WG. Even though the web interface on router was very intuitive, I would only see the router web page when trying my IP Address. why?why?
Finally, in 2 places on internet (*quotes below), and found that “The unit does not support loop out connection services.” I also emailed Actiontec support which very responsively answered me below within 24 hours – with an automated email which indicates how often they get this question.**
**My email to Actiontec support:
You wrote:
Port Forwarding does not seem to work. Port 80 forwarding only goes to
GT701 page. Any suggestions?The reponse to this issue is below:
=================================================================
Forwarding port 80 will work, but you cannot check or test it from within your net work, it will always show the modems page, because it is on port 80. You must test the web server from outside of your network.i.e.Have a friend test it, some PC out on the Internet.
Current Solution
If you want to see your site from your internal network, add the site name and internal ip to your /etc/hosts (or Windows hosts file) file of each machine you to be able to see the site.
Actiontec Docs for Qwest DSL Users
http://www.qwest.com/internethelp/modems/gt701/index.html (GT701)
http://www.qwest.com/internethelp/modems/gt701-wg/index.html#general (GT701-WG)
ActionTec Links
- http://www.linuxquestions.org/hcl/showproduct.php/product/1350
- http://www.actiontec.com/
How to set up a Home Web Server
- Great howto Article in August Redhat Magazine http://www.redhat.com/magazine/022aug06/features/webserver/
- http://www.dslwebserver.com/
- And you will need www.zoneedit.com
How to set a static IP address on your web server in a mixed DHCP/Static network
- Set DHCP server to serve at a number (say 192.168.0.101)
- configure your web server to a static ip and dns (copy from others) at an IP Address below the DHCP starting point.
- that’s it!
How To automatically update zonedit.com with a Dynamic IP Address change
- Create an update script
- Set up a crontab to run it nightly
# ding dong wake up - ping ZoneEdit with IP address
ping -c2 dynamic.zoneedit.com
lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.htm
l?host=www.sitename.com'
The specs for this script are at http://www.zoneedit.com/doc/dynamic.html#faq11
Posts found on the Internet About Port 80 forwarding
In a prior message, I complained about not being able to see my internal (port
forwarding or DMZ host) web servers when I browse to my WAN IP from a client on
my LAN. I received the following reply:
“The unit does not support loop out connection services.
To access your web server from inside your LAN, you would need to edit the
HOST files on your computers to contain the IP of the web server with the
domain name seperated by a blank space
Example
192.168.0.7 stevens.com
The blank space is created by hitting your tab key.”
I do not have a domain name registered for my WAN IP. I have pages hosted on a
3rd party server that use dotted-decimal notation to link to resources hosted on
my server at home. I would like to be able to view these pages and have the
dotted-decimal links resolve correctly.
Is there any chance your company might consider supporting loop out connection
services in a future firmware release?
I recently switched from using a Cisco 675 to an Actiontec GT701WG. For several
years I have been hosting a web site at home with HTTP servers on ports 80,
8080, and 8081 of a single static IP address that I lease from Qwest. I can
access these servers from the outside world just fine if I appropriately
configure the GT701WG’s port forwarding or DMZ host features (both methods work).
The problem is that I would like to be able to test my web site by connecting to
my WAN IP address from a machine on my LAN. This worked great with the Cisco
675 but does not work with the GT701WG. When I browse to my WAN IP address from
a client on my LAN, I either get the GT701WG’s configuration page (if I browse
to port 80) or a “connection refused” (if I browse to any other port).
My GT701WG settings:
Obtain IP via PPPoA
Not using unnumbered mode
Not using VIP mode
No service or website blocking
Remote management = Off
Firewall security = basic
dynamic routing off
NAT on
no static routes
Is there any way to configure the GT701WG to always pass all outbound packets to
the WAN instead of internally routing them when it recognizes its own address?
Alternately, is there any way to configure the GT701WG to route all packets
addressed to its WAN IP address in the same manner regardless of whether or notthey originate from the LAN? all of this found in google cache orig from: klw.bz:8080/ShaboopeeNotes/&RFbSlZz%20%20%20Actiontec%20DSL%20modem/
Installing Drupal behind an Actiontec GT701-WG router
The popular Actiontec GT701-WG (and possibly other routers) DSL modem/router has a peculiar behavior that affects how base_url must be set up in sites/default/settings.php. The solution is to replace the PHP code that sets base_url with some code that is available below.
Here’s the scenario: you are using computer A to access and use your Drupal site, computer B is the server that is hosting the Drupal site, and both computers are plugged into a GT701 router, which in turn is linked to the Internet. Internet users can access your server from the outside by typing in www.example.com (because you set up port forwarding on the GT701). However, the GT701 will not allow you to type that address in from computer A, because the GT701 interprets such an action as a request to view the GT701’a administrative interface. Instead, you must type in the local network IP address (usually 192.168.0.xxx) of computer B to access and use your Drupal site.
However, this causes a problem because base_url is used by Drupal to create all the site’s links. If base_url is set for www.example.com, you will be unable to use the site from computer A (even if you type in the local IP). If base_url is set for the local network IP address, Internet users will not be able to use the site.
In other words, base_url has to be different for internal network users (computer A) and Internet users. To do this, replace the line $base_url = “http://www.example.com” with the following PHP code:
$ipaddress = getenv(REMOTE_ADDR);
$local= strpos($ipaddress, ’192.168.’);
if ( $local=== false ) {
$base_url = “http://www.yourdomain.com”;
} else {
$base_url = “local network IP address”;
}
?>Here, replace www.example.com with the actual URL and local network IP address with the proper IP address (something like 192.168.xxx.xxx). It is possible that your local network IP addresses do not begin with 192.168; in that case, you would need to change the code to look for the local IP range accordingly.
With this setup, you can access the Drupal site using computer A by typing in Computer B’s local IP address in your browser, while Internet users can continue to access it by typing in www.example.com source: http://drupal.org/node/20702
and most concisely:
http://braille.uwo.ca/pipermail/speakup/2005-September/036500.html
Raul A. Gallegos raul at asmodean.net
Fri Sep 23 19:02:16 EDT 2005* Previous message: ActionTec 701WG intercepting port 80 question
* Next message: smallest speakup distribution?
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]—–BEGIN PGP SIGNED MESSAGE—–
Hash: SHA1Well, my finds are as follows.
The ActionTec only forwards ports from the outside in, not from the
inside in. What this means is that when I try to get to a locally hosted
domain since the request is done on port 80, the ActionTec’s port 80
answers instead since it originates from the lan. If however someone
from the outside makes a request for the domain, then since it’s from
the outside the ActionTec will forward port 80 to the machine running
the web server.In short, even if I placed the thttpd daemon on the ActionTec on a
different port that would not solve my problem. What I need to do is
telnet into it and issue an iptables command to also forward ports from
the inside if I wanted to.- —
5 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed




Comment by Narril — 21-Oct-2006 #
Gah, I’m having the same exact problem, wish i’d found this article about 9 hours ago.
Have you been able to find a better solution than “use the internal IP?”
Comment by Gare — 22-Oct-2006 #
This is unrelated and probably dangerous and off-course but, You can telnet into the Actiontec router itself (it runs on BusyBox linux)default
user: admin password: admin
gare:$ telnet 192.168.0.1
Trying 192.168.0.1…
Connected to 192.168.0.1.
Escape character is ‘^]’.
BusyBox on (none) login: admin
Password:
BusyBox v0.61.pre (2006.07.03-16:17+0000) Built-in shell (ash)
Enter ‘help’ for a list of built-in commands.
#
http://www.dslreports.com/forum/remark,13388402?hilite=several+actiontec+gt-701wg+issues+resolved
Comment by gare — 13-Sep-2008 #
Hacking the Actiontec GT701-WG
omin0us and Sub
http://www.nettwerked.net/actiontec.html
Comment by click — 20-May-2009 #
Ein wirklich sehr Interessante Seite mit guten Informationen.
Comment by Morris — 13-Jun-2010 #
You can go to portforward.com and they got a port checker to see if that port is open or not. I use it helps A LOT!! :-)