Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| 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. |
|
 |
01-06-2004, 06:47 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2004
Posts: 3
Rep:
|
Port 8080 access
Okay Okay I have seen a lot of message about iptables and I'm sorry if this is a bit of a re-post but here goes .....
I'm running Redhat 9 and have the network security set on high (via the gui) but customised to allow ssh and http. The only problem is that this must allow access on http over port 80, I would also like to allow access over port 8080. I have switched off the security via the gui and can acess my web page over port 8080 so I know that this is where the problem lies.
Does anyone know how I make a perminate change to allow http port 8080?
Thanks in advance,
Jamie
|
|
|
|
01-06-2004, 07:18 AM
|
#2
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
enable/allow https (via gui) or do the classic
Code:
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT
|
|
|
|
01-06-2004, 07:26 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2004
Posts: 3
Original Poster
Rep:
|
Thanks Ciccio
I have given that command a go but it has not resolved the problem, any other ideas?
Thanks again,
Jamie
|
|
|
|
01-06-2004, 09:03 AM
|
#4
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
port 8080 is used by https, so if you enable the service via GUI (I-m not at my computer right now, but once I get home I'll give the gui a try and let you know) you should be able to access it. Also, make sure you are giving the right parameters to iptables, for example, the interface -i should be eth0 or eth1, depending on your confioguration.
|
|
|
|
01-06-2004, 09:03 AM
|
#5
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
Oh, also you should make sure you are using tcp and not udp, if so you should use -t udp instead of -t tcp
|
|
|
|
01-06-2004, 09:22 AM
|
#6
|
|
LQ Newbie
Registered: Jan 2004
Posts: 3
Original Poster
Rep:
|
Thanks again.
'-t' did you mean '-p' ?
I gave this command a go just in case but it did not make a difference:
iptables -A INPUT -i eth0 -p udp --dport 8080 -j ACCEPT
I also checked my ifconfig to confirm that I am using eth0 which I am.
|
|
|
|
01-06-2004, 10:38 AM
|
#7
|
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
yes, -p. sorry.
Oh, well... it was worth the shot. I'll get back to you on this a bit later today.
|
|
|
|
| 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 02:15 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
|
|