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. |
|
 |
05-04-2003, 11:23 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27
Rep:
|
Port forward help please
I have searched the forum, there are some topic talking about iptables that seems could do what I needed.
What I am doing is: I want to run my web server on 8080 by using another userid other then root. But port 80 will not available for a regular user id. Then I think I need a port forward, forward a request from 80 to port 8080.
I tried a couple times, but it it just not working for me.
Can somebody please write the command down here?
|
|
|
|
05-05-2003, 06:30 AM
|
#2
|
|
Member
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158
Rep:
|
why it will not allow to let u run on port 80. can't u specify to do anyway have a look at
http://kreiger.linuxgods.com/kiki/?P...with+netfilter
|
|
|
|
05-05-2003, 08:53 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27
Original Poster
Rep:
|
The error information is:
2003-05-05 07:51:10,107 : Http11Protocol.init : Error initializing endpoint
java.net.BindException: Permission denied:80
With root id as the service id it is okay.
|
|
|
|
05-05-2003, 10:51 AM
|
#4
|
|
LQ Newbie
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27
Original Poster
Rep:
|
iptables is so hard to understand (8-[
I will keep trying. I do not have too long expirence on Linux
|
|
|
|
05-05-2003, 10:52 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27
Original Poster
Rep:
|
If you happened have done samething, please let me know what you have done.
|
|
|
|
05-05-2003, 01:19 PM
|
#6
|
|
LQ Newbie
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27
Original Poster
Rep:
|
I got it working!
here is my answer: to the same machine from 80 to 8080:
iptables -t nat -I PREROUTING 1 -p tcp --dport 80 -j REDIRECT --to-port 8080
|
|
|
|
05-05-2003, 01:20 PM
|
#7
|
|
LQ Newbie
Registered: Mar 2003
Location: Edmonton
Distribution: slackware
Posts: 27
Original Poster
Rep:
|
Thanks mayankjohri. The information helps a lot.
|
|
|
|
| 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 04:19 AM.
|
|
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
|
|