LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2003, 04:57 PM   #1
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Question Fowarding port 80 ?


My isp blocks port 80 , so is there a way to foward the port 80 to a diff port ? so i dont have to add the port on the browser.....
 
Old 05-23-2003, 05:23 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
yeah you can run a iptables firewall and write a rule to forward the port

man iptables for more info
 
Old 05-23-2003, 05:44 PM   #3
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
(man iptables for more info) what this means>?
 
Old 05-23-2003, 06:04 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Type the command man iptables in a terminal/console, and press return
 
Old 05-23-2003, 08:48 PM   #5
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Rep: Reputation: 15
Correct me if I'm wrong, but if his isp blocks port 80, that would mean that the port was either blocked from the source directly, or from the router/modem that the isp provided you with.

So, if you wanted to redirect a certain domain.com to go to a different location, maybe you could look into dns as a solution. I don't know that much about dns, but I think that could be a solution.

Anyone else?

Regards, Kenny
 
Old 05-23-2003, 10:06 PM   #6
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
yeah you are right. if one runs ip forward on the local machine the packets must first reach the machine on the initial port from which they will be forwarded. if the ISP is blocking the packets then they wont reach the machine and hence they wont be forwarded.

i am sorry i missed that one before

what you need is a port forwarding serive provider. there are lots of then and some are free the last time i checked. do a google search and you can find some.
 
Old 05-24-2003, 12:04 AM   #7
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Rep: Reputation: 15
I have also been looking at the port forwarding services. Like http://no-ip.com/ but this does raise an interesting question though. Could you make a dns server that takes a domain name without the :8080 for example and translate it go be forwarded to a certain IP with :8080 attached?

Just wondering?

Regards
 
Old 05-25-2003, 08:10 PM   #8
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
Question

Does anyone knows how to set up an iptable to foward port 80 to 8080 ?

im new to this hopefully someone can walk me thru it.

?
also what file do i have to edit to add or edit iptables>? manually

im running RH 8.0


thanks an advanced
 
Old 05-25-2003, 08:36 PM   #9
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Are you sure its your ISP that blocks port 80 or your router? Are you trying to host a webpage? For my webserver to be visible to the outside I have to forward requests to port 80 on my router to my webserver.
 
Old 05-25-2003, 09:12 PM   #10
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
Yes my new isp blocks port 80, which im so mad ..... and i hate to add the port to the browser.....

Yes this is my RH8 server ...HELPPPP
 
Old 05-26-2003, 06:19 PM   #11
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
Unhappy

Anyone has to had the same problem. My isp block port 80 so how can i get around this >? without adding the port to the browser? please help


i know i can do a web redirect , but that sucks because it will still show the port on the browser status bar .....

HELPPPPPPPPPPPPPPPPPP PLEASEEEEEEEEE
 
Old 05-27-2003, 02:24 PM   #12
0x4B
Member
 
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
if the isp blocks traffic to port 80, then there really isn't anyway to serve the content without using another port, which will require you to specify the port number in the URL. one options is to tunnel connections from someone else's box, but I can't imagine anyone offering to do that for you (it would be easier to simply host the content there).
regarding the question in post 7, the DNS doesn't handle port numbering, only the addressing, so it would not be possible to have lookups automatically append :8080 through DNS
 
Old 05-28-2003, 03:11 AM   #13
slooper
Member
 
Registered: Apr 2003
Posts: 41

Rep: Reputation: 15
I just did a workaround to this - it's super easy

I went to no-ip.com and setup a free account.

for the first account you make a redirect called like foo2.no-ip.com
and you direct that http address to your home IP

THEN you create a WEB redirect that links foo.no-ip.com to foo2.no-ip.com:8080 (where 8080 is the port you've chosen for your http server on your local machine)

then foo.no-ip.com is your address, and your ISP can KISS OFF!!!

SCREW YOU COX COMMUNICATIONS!!!!!
 
Old 05-28-2003, 03:16 AM   #14
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
www.dynu.com offers port forwarding. Check them out. I have never used their port forwarding service, but I think they alter the name for you (i.e. changin port 80 to port 8080) without the user having to type in the port number.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid port fowarding SiLiCoN Linux - Security 3 06-24-2005 07:42 PM
Port Fowarding zaicheke *BSD 9 10-25-2004 06:05 PM
Port Fowarding. Arisen Sun Linux - Security 1 05-23-2003 06:48 PM
SSH port fowarding magyartoth Linux - Networking 10 05-01-2002 02:27 PM
Port Fowarding(Ip FORWARDING sdunn Linux - Networking 0 08-20-2001 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration