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
Solved

Port Forwarding

Posted on 2011-02-22
6
422 Views
Last Modified: 2012-05-11
We had to move our webserver, and were temporary forced to go from 10 static IP addresses to 2. It was suggested that we try to get some of our sites back up by utilizing port forwarding. My question is what ports are generally good for customizing and would port forwarding also work for FTP sites.
0
Comment
Question by:jej07
6 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 250 total points
ID: 34952044
You can reassign any ports you like, as long as you don't have services on the back end that need those ports.  In other words, it would be ill-advised to assign port 21 to a web site if you need to use it for an FTP site.  Typical alternate HTTP ports are 8040, 8080, 8081, but you can make up your own.

Yes, you can port forward FTP sites as well.
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 34952045
Going from 10 static addresses to 2 will be tricky by only using port forwarding, in general you can say forward port 80 (from ip 1) to port 80 on a internal web server and port 80 (of ip2) to another internal web server and then say use other external ports for other services.

The only issues with using other ports is that you will end up with externalip_1:81 -> something else internally and that kinda defeats the purpose.

FTP can be problematic because of the data and control ports it uses.. can you provide more information about what you need to get working and i can be more specific.
0
 
LVL 9

Assisted Solution

by:jerrypd
jerrypd earned 250 total points
ID: 34952051
port forwarding works for virtually anything.
A webserver can host multiple sites using "host Headers" - all sites have same IP address and the web server figures out which site based on the address being requested. In this manner, one IP address handles multiple physical domains...
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:jej07
ID: 34952287
I have prioritized and came up with 13 sites that I'm going to try to squeeze into those 2 IP addresses. This is hopefully just a temporary solution as I should have all 10 IP addresses back in a couple of weeks. My thought is I can have our name server assign the 2 new IP address to the 13 sites, using a port range of 4040-4053. Then create a firewall rule for those port numbers that points to the appropriate IP address on the webserver. The goal being to not change the ip and host header info on the webserver.
0
 
LVL 9

Expert Comment

by:jerrypd
ID: 34952894
i *guess* you could do that, but honestly, changing the host headers is a no-brainer...
0
 
LVL 1

Author Closing Comment

by:jej07
ID: 34953805
We're going to use both port forwarding and utilize host headers. Thank you for your help!
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Telepresence on backup 3 33
Blacked by spamhaus? 26 70
Random port 80 connection refuse flapping 14 32
FTP server backups 5 10
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

829 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