Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-25-2003, 01:43 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2003
Posts: 2
Rep:
|
Port forwarding just isnt working... Apache / xinetd Please help!
Hi.
Heres my dillema. I got my Apache going, but my Isp blocks port 80. I edited the httpd.conf and made it from 80 to 8080.
Now, I have a router, but the router doesnt have any port forwarding options. Ifconfig tellls me that my ip is 192.168.254 (internal). When I access whatismyip.com , that tells me 151.198.153.xxx
Since the router doesnt have any port forwarding, I had to take things into my own hands and use xinetd. I found someone that had a situation very similar to mine and they had sucess with the following...
service 8080
{
disable = no
socket_type = stream
protocol = tcp
user = nobody
wait = no
port = 8080
redirect = 192.168.254.xxx 8080
}
So I added that as a file, then restarted xinetd. Now I should be able to get access at (h)ttp://151.198.153.xxx:8080 right? Well I cant. Ive spent alot of time lookin and askin around, nobodys been able to help me on this one. If you can provide some assistance, please do so, its much apprecaited! Thank you!
|
|
|
|
08-25-2003, 08:15 AM
|
#2
|
|
Member
Registered: Mar 2003
Distribution: Slackware
Posts: 234
Rep:
|
Quote:
|
Now I should be able to get access at (h)ttp://151.198.153.xxx:8080 right?
|
wrong. Configuring your xinetd to redirect is only if requests get to your linux machine on port 8080 in the first place. They are not. They're hitting your router and your router's saying "Port 8080 isn't open, reject!"
Your router most likely does have port forwarding options. Post the model number and brand of your router, and I (or someone) will help you forward the ports or find out exactly if it can or not. Most routers can though, they're just shady about the shiz.
|
|
|
|
08-25-2003, 01:05 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2003
Posts: 2
Original Poster
Rep:
|
Thanks for your reply Blindsight
Ok, well I have a Speedstream 2623. I got these instructions from speedstream when I asked about the port forwarding. I am including screenshots of the Router Control Panel in hopes that someone can understand this.
"Go to advanced setup / special applications. You will need to select an application off of the list, or fill in the information (which is obtained from the program vendor) manually.
If this does not work, there is another option for opening ports. These routers have a DMZ mode, which opens all the ports for one computer. To do this you obtain the IP address of the computer you want to open the ports for, then go to Advanced Setup / Misc. You put in the last digits of the IP address where it says: IP Address of Virtual DMZ host. Then you put a check in the "Enabled" box"
Heres a screenshot of the special applications section : (h)ttp://www.evobb.com/~liquidskin/specialapplication.png
And heres the one of the DMZ section: (h)ttp://www.evobb.com/~liquidskin/misc.png
Hope someone can help me out. Thanks alot.
|
|
|
|
09-09-2003, 04:12 PM
|
#4
|
|
LQ Newbie
Registered: Sep 2003
Posts: 1
Rep:
|
In speedstream setup, try going to "virtual server" config page and add an entry there. Private IP is address of your server, private port is 8080, Type TCP, Public Port 8080.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|