Accessing servers via VPN
I set up my first Ubuntu machine only a couple of days ago. I've managed most things, but can't work out how to access directories via VPN. For example: If I start a CISCO VPN session to my workplace on my Windows machine, I can access the software server by selecting Start > Run > \\software. I have no idea how to do the same thing with Ubuntu. Any constructive advice is appreciated. Thanks.
to start the vpn, use vpnc. it has a simple config file where you set the user details.
if a windows machine, use smbclient
Please thank me if i have been of any help....
is your software server running on windows or linux platfrom? and windows and linux are different file system ntfs and ext3, therefore check about samba
CISCO VPN is the way of secure connection to your network therefore don't confuse with these windows and linux file system with VPN connection.
Thanks to all, but we've still got some work to do
I've downloaded an run the generic VPN connection from work, and I've created Desktop shortcuts to connect and disconnect. Connecting opens up a Terminal session, which once connected reads:
Cisco Systems VPN Client Version 4.8.02 (0030)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.24-24-generic #1 SMP Tue Jun 30 20:28:53 UTC 2009 i686
Config file directory: /etc/opt/cisco-vpnclient
Initializing the VPN connection.
Contacting the gateway at <address>
User Authentication for work_vpn...
Enter Username and Password.
Username [<username>]: <username>
Negotiating security policies.
Securing communication channel.
<Work connection> (node corpvpn)
This is a restricted access computer system, for use by authorised clients
only. Suspicious activity may be logged. Conditions of use may be obtained
by phoning 8302 ****, emailing helpdesk@****.edu.au, or on the web see:
Do you wish to continue? (y/n): y
Your VPN connection is secure.
VPN tunnel information.
Client address: <address>
Server address: <address>
Encryption: 168-bit 3-DES
IP Compression: None
NAT passthrough is active on port UDP 4500
Local LAN Access is disabled
but that's as far as I can then get. I can't see how or where I would type in the \\<servername> command to open up a shared folder.
All servers are Windows 2003 or 2008. I attempted to connect by selecting 'Places' > 'Network' and entering smb://software/ but still could not see any directories beyond . Any further suggestions?
is the vpn tunnel up?
can you see the other end??
a new interface should have been created.
once the tunnel is up and you can see the other end, you try the methods of connecting to the windows server(s) mentioned above..
Using KVpnc, I can easily create the connection - importing the CISCO PCF file from my Windows machine was as simple as searching for the file, then copying it to a USB. I then imported it to KVpnc as per process. Good for me! Still no luck when it comes to mapping drives, or mounting drives, as the case may be. No new interface created, just an icon indicating a successful connection, and yes - a tunnel IP address 126.96.36.199. I'll now apologise for continually using Windows terminology, but it's the only language I know. From this point (having established a connection), I would normally select 'Start' > 'Run' and enter \\software to access the software share at my work place. If I attempt something similar in Ubuntu by selecting 'Places' > 'Connect to Server' > software, I am presented with the following message: Cannot display location "smb://software/"
Thanks for the previous suggestion, but the results are below:
duane@duane-desktop:~$ smbclient -U <username> //server.cw.domainname.edu.au/buo
Enter <username's> password:
session setup failed: NT_STATUS_LOGON_FAILURE
Keep the suggestions comming. I've found a local Ubuntu user group that meets regularly. I'll attend as many of their meetings as I can, and ( hopefully) post a positive result soon.
Solved!!! Here's how to map a drive to a Windows share, over a Cisco VPN connection, under Ubuntu 9.04:
Method to map a drive to a Windows directory \\server\share\sub-directory:
1.Select 'Places' > 'Connect to Server'
2.From the 'Service Type' options, select 'Windows Share'
3.Enter the Server name in 'Server' field
4.Enter the Shared folder name (if applicable) in the 'Share' field
5.Enter the final sub-directory (if applicable) in the 'Folder' field
Bingo. It's always simpler than you expect. Thanks to all who offered advice.
|All times are GMT -5. The time now is 03:26 PM.|