#1  
Old 21st June 2010, 00:54
dalitso dalitso is offline
Member
 
Join Date: Nov 2008
Location: South Africa
Posts: 43
Thanks: 3
Thanked 4 Times in 3 Posts
Send a message via Skype™ to dalitso
Default Linking Ubuntu Servers

What is the easiest yet reliable way of linking ubuntu servers? Like in a scenario where branch servers need to link to head office server in services like samba shares or more.
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2010, 06:53
dipeshmehta dipeshmehta is offline
Senior Member
 
Join Date: Nov 2008
Location: Rajkot, India
Posts: 175
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta
Default

You may check OpenVPN (www.openvpn.net). Its very easy to setup yet robust, stable and secure.

You may set it up using static key instead of creating certificates. Please check http://www.openvpn.net/index.php/ope...ini-howto.html

Do come back here in case any queries, I shall be glad to assist.

Dipesh
Reply With Quote
  #3  
Old 21st June 2010, 18:47
dalitso dalitso is offline
Member
 
Join Date: Nov 2008
Location: South Africa
Posts: 43
Thanks: 3
Thanked 4 Times in 3 Posts
Send a message via Skype™ to dalitso
Default

Openvpn's basic setup worked fine. I am just working on creating keys so I can establish an auto connection on the client side (server 2).

Although following this guide http://www.ossramblings.com/configur...n_ubuntu_hardy

gives me this error:
Code:
Using configuration from /etc/openvpn/openssl.cnf
/etc/openvpn/keys/index.txt: No such file or directory
unable to open '/etc/openvpn/keys/index.txt'
31286:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/openvpn/keys/index.txt','r')
31286:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:

when I create the keys with
Code:
./build-key-server server

./build-key client-name
But I figure the keys will still be created even if there's that error, right?


Anyway, on the basic(documentation) open vpn setup, I can access the files both by using samba or nfs.

I have realized that mounting the folders of server 1 on server 2 via either samba or nfs results in those folders being unavailable once the internet connection is not available.

I mounted nfs this way
Code:
mount 192.168.1.20:/export/share /home/user/share
I was just testing so I didn't mount in /etc/fstab

Is there a way server 2 can still have the files in its folder /home/user/share/
even when the connection is absent?
Reply With Quote
  #4  
Old 26th June 2010, 21:31
dalitso dalitso is offline
Member
 
Join Date: Nov 2008
Location: South Africa
Posts: 43
Thanks: 3
Thanked 4 Times in 3 Posts
Send a message via Skype™ to dalitso
 
Default

Quote:
I have realized that mounting the folders of server 1 on server 2 via either samba or nfs results in those folders being unavailable once the internet connection is not available.

I am going to use rsync.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem send/receive Courier+Postfix+Squirrelmail Pirk Installation/Configuration 2 21st May 2010 14:26
Connection timed out on intermail outgoing mails gouravgarg Server Operation 6 5th March 2010 21:31
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 14:49
Problem on restart bind9 satimis Server Operation 6 30th October 2007 03:01
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 15:34


All times are GMT +2. The time now is 19:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.