Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Ubuntu 10 and IP Tables

Posted on 2012-04-10
3
Medium Priority
?
235 Views
Last Modified: 2012-04-19
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
Comment
Question by:deklinm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 80

Accepted Solution

by:
arnold earned 2000 total points
ID: 37830034
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
 

Author Comment

by:deklinm
ID: 37838472
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
 
LVL 80

Assisted Solution

by:arnold
arnold earned 2000 total points
ID: 37838556
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

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question