Jump to content

Port Redirection


MrDave2176

Recommended Posts

I've just got my Verizon FIOS hooked up and I'm pleased with the speed. However, I am less pleased that incoming Port 80 is blocked. I have access to other servers and I am considering setting up some sort of catch-and-redirect page that will redirect the domain name (http://wildandbad.com) to the webserver http://wildandbad.com:8080.

This presents a problem. Ideally I'd like to set it up as a proxy or URL rewrite. I tried no-ip.com (http://wildandbad.no-ip.info) and got some success but theirs is name-based not ip-based redirection so I can't make a CNAME record to redirect it.

I have access to another server (http://latenightgames.com) and could try to make a wildandbad.com redirect through apache except that I've lost my su access and would have to go therough their sysadmin and he's a bastard (I'll be leaving them soon anyways).

I have another server on http://cssm.org through Dreamhost but I've not looked into doing it there.

In short, what I think I'll need will be an A record to point to a non-blocked domain (wildandbad.com) which will pass the REQUEST to a php script which will repackage and POST to www.wildandbad.com:8080 which is my home machine.

Any thoughts on this? Anyone know of a less complicated way to make wildandbad.com go straight to my home machine without specifying a port?

Link to comment
Share on other sites

MrDave2176 -

When an old ISP that I had blocked port 80 my DNS provider, zoneedit (which is a free DSN service), had a service called web forwarding. It works in one of two ways:

1. It can keep the URL as the main URL (http://www.mydomain.com) and capture the URL with the different port in a frame.

2. It can forward to the server running on a different port and in the location bar show http://server2.mydomain.com:8080

WebForwardâ„¢ - Do you have a web site with a complicated address? Would you like to have a "www.___.com"? Use our pathed WebForwardâ„¢ service, and visitors will get transferred automatically!

I'm not sure what you're currently using for DNS service but I would suggest that changing to zoneedit, if at all possible, may be the easiest solution.

Ben

Link to comment
Share on other sites

That is more or less what no-ip.com does. My problem is that I want to KEEP wildandbad.com as my domain name.

Since I control the Name Servers for it I can direct it to any IP address, but I can't direct it to any port.

All of these redirect services are NAME based, not IP based.

I WANT an ip-based port redirect.

Link to comment
Share on other sites

Might be a n00b comment, but could you not just host the site else where, and just transparently pull the content from your own computers? That way there connecting to www.yoursite.com, but all that would be is PHP includes pointing to the site on your computers. Thus you avoid the ":8080" suffix.

Link to comment
Share on other sites

All of these redirect services are NAME based, not IP based.

I WANT an ip-based port redirect.

So if I'm understanding this, you want all traffic that's going to port 80 (which is blocked by vz) to be automatically redirected to a different port like 8080? But you don't want to do it with dns in a similar fashion to spf (which, I don't think there's any way of doing that with a dns record anyway),

well, unless you've got some friends at verizon that have access to the routers that are blocking your traffic, you're basically s-o-l. I'm failing to see why you think that you can't keep your name though? just register with a dyndns service (unless you've got a static ip), and create a cname.

Although I think the confusion isn't that you want an ip-based redirect, but rather a port redirect. Once again ... s-o-l. The problem is that vz's holding all of the keys for port 80, and if your dns records point to your fios connection, then the first thing that any web browser's going to do once it's got the name is try to connect to port 80, which will obviously fail, since it's being blocked---*hackwheezecough*.

My best recommendation to you would be to put the site on another box, and pull the content from your connection, with the only content on the remote box being basically just a shell for you to put in the real content. (iframes, layers, php, trained llamas Iunno .. .whatever boats your float) Kinda like a pre-made pie crust.

Link to comment
Share on other sites

That is more or less what no-ip.com does. My problem is that I want to KEEP wildandbad.com as my domain name.

Since I control the Name Servers for it I can direct it to any IP address, but I can't direct it to any port.

All of these redirect services are NAME based, not IP based.

I WANT an ip-based port redirect.

I'm confused, with zoneedit you would be able to keep whatever domain name you want.

If what you're asking for is a user to type http://www.wildandbad.com but be pointed to your server at a specific port then you're asking for something that can't be done. The "http" controls the default port for your browser. Unless you want to change what the user's services file sets the default port for http to use you won't be able to have them go to http://www.wildandbad.com but point to http://yourip:8080, it just won't work.

Sorry.

Ben

Link to comment
Share on other sites

That is more or less what no-ip.com does. My problem is that I want to KEEP wildandbad.com as my domain name.

Since I control the Name Servers for it I can direct it to any IP address, but I can't direct it to any port.

All of these redirect services are NAME based, not IP based.

I WANT an ip-based port redirect.

I'm confused, with zoneedit you would be able to keep whatever domain name you want.

If what you're asking for is a user to type http://www.wildandbad.com but be pointed to your server at a specific port then you're asking for something that can't be done. The "http" controls the default port for your browser. Unless you want to change what the user's services file sets the default port for http to use you won't be able to have them go to http://www.wildandbad.com but point to http://yourip:8080, it just won't work.

Sorry.

Ben

That is exactly what I want. And (as I suspected) It might not be possible. But I am determined to try to do it...somehow.

I am thinking that I might do something like this:

domain ww2.wildandbad.com A record pointing to Home Machine

domain: *.wildandbad.com A record pointing to dreamhost.com

wildandbad.com has a URLrewrite in a .htaccess file

RewriteEngine On

RewriteRule ^[^/]+(/.*)$ http://ww2.wildandbad.com:8080$1

And then see how it works.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...