• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Ubuntu 10 and IP Tables

My ubuntu 10 server is currently configure to only accept port 80 requests from a specific IP address.  How do i change it to allow all port 80 (inside & outside) requests through?
0
deklinm
Asked:
deklinm
  • 2
2 Solutions
 
arnoldCommented:
Ubuntu use sfw as the graphical interfaces manage iptables.
Iptables -L
To get the current Iptables rules.
iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT
Is the raw rule to allow port 80 connection from outside the system.
You may have to make a port forward rule on your external router to the Ubuntu system.
0
 
deklinmAuthor Commented:
I have stopped shorewall
Then i ran iptables -I INPUT 5 -p tcp -m tcp --dport 5632 -j ACCEPT

The server is not accepting connections
0
 
arnoldCommented:
how does shorewall relate to your system?

I.e. is it the front door and you want to grant access to a room within the house?

please post the output of iptables -L --line-numbers from the system to which you want to grant access.
Then you have to still configure the external router/firewall to pass traffic on a specific port to a specific system/port on the inside

Could you also run
lsof -i:5632
does it report that there is a process that is listening on that port?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now