07-22-2009
Setting up private and public ip on same machine.
Hi,
We have a ftp server which is running on public ip and out side of firewall.
Users out side of our network and users of our local network both using the same public ip and doing upload and downloading.
Last few days we are facing bandwidth problem as internal network users increased.
We want setup ftp server with 2 ips as follows.
Internal users will use private IP
users out side network will use public Ip.
Is there any procedure available to configure same machine with private and public ips.
please help me sort out this issue.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Firstly, i apologise if i have posted in a wrong section of the forum. Please let me know which is the correct section my post should go to.
I have to SCP a file from one server(server A) to another (server B). I read around that a secure way is to use public and private keys.
Assuming my... (2 Replies)
Discussion started by: new2ss
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have an issue with an outside party trying to deliver a file to our server via SFTP.
I have setup the .ssh directory under the home directory for the user account that is being used and setup the authorized_keys file with correct permissons etc for .ssh directory and file.
We... (2 Replies)
Discussion started by: richo king
2 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
I have a quick/newb question:
I know that a public key is used to encrypt data and a private key is used to decrypt data but who keeps the public/private keys??
Does the Web Server hold both?
Does the Web Server have the public key and does the client have the private key? ... (3 Replies)
Discussion started by: tical00
3 Replies
4. Shell Programming and Scripting
Hi All,
I have a query....say on server A, I have generated the Private and Public keys and shared the public key with server B.
Now i can surelyconnect(without password) from server A to server B.....
but can i similarly connect from server B to server A as well
Regards (1 Reply)
Discussion started by: Arpit Narula
1 Replies
5. Shell Programming and Scripting
hi guys , i have few files i have to do sftp, the public and private key work like a magic , no problem at all
the syntax is as below
sftp -0 identityfile=~/ure/blsl/loc2/.ssh/id_rsa_ssh1 ssh1@remote >log_dir/file.timestamp<<end
lcd folder
cd folder
put *
quit
end
================
my... (3 Replies)
Discussion started by: rockymayavia
3 Replies
6. Virtualization and Cloud Computing
Hi all,
Private, Public and Hybrid Clouds
I'm now testing OpenStack;
Home OpenStack Open Source Cloud Computing Software
-Infrastructure as a Service (IaaS)
-Platform as a Service (PaaS)
-Software as a Service (SaaS)
It is an Open Source software.
I'm interested to know whether... (0 Replies)
Discussion started by: satimis
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
What tool is used to generate public and private keys for SCP?
Do you have an example script that generates these keys, puts them in files and then another example script that references them from SCP?
Thanks, (9 Replies)
Discussion started by: Astrocloud
9 Replies
8. Shell Programming and Scripting
Hi All,
I have a requirement where i need to check if an rsa public key corresponds to a private key and hence return success or failure. Currently i am using the command
diff <( ssh-keygen -y -e -f "$PRIVKEY" ) <( ssh-keygen -y -e -f "$PUBLICKEY" )
and its solving my purpose. This is in... (1 Reply)
Discussion started by: mritusmoi
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
we have private and public key, encrypt file using public and want to decrypt using private key. can you please advise below commands are correct or other remedy if unix have?
encrypt -a arcfour -k publickey.asc -i TESTFILE.csv -o TESTFILE00.csv
decrypt -a arcfour -k privatekey.asc... (2 Replies)
Discussion started by: rizwan.shaukat
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
i generate private and public key using below command.
ssh-keygen -t rsa
can you please share command for encryption and decryption file using above generated keys.
Regards, (4 Replies)
Discussion started by: rizwan.shaukat
4 Replies
LEARN ABOUT PHP
yafapplication
YAFAPPLICATION(3) 1 YAFAPPLICATION(3)
The YafApplication class
INTRODUCTION
Yaf_Application provides a bootstrapping facility for applications which provides reusable resources, common- and module-based bootstrap
classes and dependency checking.
Note
Yaf_Application implements the singleton pattern, and Yaf_Application can not be serialized or unserialized which will cause problem
when you try to use PHPUnit to write some test case for Yaf.
You may use @backupGlobals annotation of PHPUnit to control the backup and restore operations for global variables. thus can solve
this problem.
CLASS SYNOPSIS
Yaf_Application
final
Yaf_Application
Properties
o protected$config
o protected$dispatcher
o protectedstatic$_app
o protected$_modules
o protected$_running
o protected$_environ
Methods
o publicstatic void Yaf_Application::app (void )
o public void Yaf_Application::bootstrap ([Yaf_Bootstrap_Abstract $bootstrap])
o public Yaf_Application Yaf_Application::clearLastError (void )
o private void Yaf_Application::__clone (void )
o public Yaf_Application::__construct (mixed $config, [string $envrion])
o public void Yaf_Application::__destruct (void )
o public void Yaf_Application::environ (void )
o public void Yaf_Application::execute (callable $entry, string $...)
o public Yaf_Application Yaf_Application::getAppDirectory (void )
o public Yaf_Config_Abstract Yaf_Application::getConfig (void )
o public Yaf_Dispatcher Yaf_Application::getDispatcher (void )
o public string Yaf_Application::getLastErrorMsg (void )
o public int Yaf_Application::getLastErrorNo (void )
o public array Yaf_Application::getModules (void )
o public void Yaf_Application::run (void )
o public Yaf_Application Yaf_Application::setAppDirectory (string $directory)
o private void Yaf_Application::__sleep (void )
o private void Yaf_Application::__wakeup (void )
PROPERTIES
o $config
-
o $dispatcher
-
o $_app
-
o $_modules
-
o $_running
-
o $_environ
-
PHP Documentation Group YAFAPPLICATION(3)