Solved

Port Forwarding

Posted on 2011-02-22
6
424 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

726 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