LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2012, 08:50 AM   #1
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 242

Rep: Reputation: 1
Question Please Guide. How to NAT and Port forward?


Hi Guys,
I want to bring my server live.
I have Static public IP Address 123.99.88.77 (Say) and also I have also registered a domain name say(live server23.com) the domain name providers have also given me the control panel with DNS management settings.
I have gateway 192.168.1.1

Now My questions are as follows?

1. First I want start with basic, I want to configure FTP Server which I want to bring online If I have public ip address as 123.99.88.77 then what IP should I give to my Linux machine 123.99.88.72 or 192.168.1.42 which class should I use here?

2. I am having DLINK 2750u ADSL router with wifi, now If i want to bring my FTP Server online then I will have to do port forwarding, now where this port forwarding can be done on GUI on Router or I will have to write down iptables on Linux machine for port forwarding?

3.Suppose I have two Linux machines on vmware on Windows 7 OS, can I bring these two machines online or form 2 node cluster among them?( I am curious to know this)

Please suggest me, I have searched Google but I could not find actual thing.

Thanks in advance!
 
Old 03-05-2012, 09:57 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,476

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by manalisharmabe View Post
1. First I want start with basic, I want to configure FTP Server which I want to bring online If I have public ip address as 123.99.88.77 then what IP should I give to my Linux machine 123.99.88.72 or 192.168.1.42 which class should I use here?
An IP address on your internal side of your router. Assuming your router does not have a DMZ port.
Quote:
Originally Posted by manalisharmabe View Post
2. I am having DLINK 2750u ADSL router with wifi, now If i want to bring my FTP Server online then I will have to do port forwarding, now where this port forwarding can be done on GUI on Router or I will have to write down iptables on Linux machine for port forwarding?
If you are using your router as your firewall then consult your routers documentation.
Quote:
Originally Posted by manalisharmabe View Post
3.Suppose I have two Linux machines on vmware on Windows 7 OS, can I bring these two machines online or form 2 node cluster among them?( I am curious to know this)
Yes, you can have them both online, although you will have to use different ports to identify them as you will only have one external IP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables can't port forward (PAT Port address translation) sfrederiksen Linux - Networking 7 12-20-2011 10:47 AM
IPTables Static NAT, 2 networks, unable to forward packets to Port 80 CommanderKang Linux - Networking 1 08-27-2010 03:35 PM
[SOLVED] nat forward openvpn qwertyjjj Linux - Newbie 8 01-08-2010 04:51 AM
[SOLVED] ssh port-forward using rdiff-backup guide windstory Linux - Newbie 4 11-20-2009 05:33 PM
Iptables FORWARD or NAT. problem. aronnok Linux - Networking 0 01-30-2005 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration