vpn

Can I get the user name and server for the currently logged in Cisco VPN session?

Is there a way to get the user name and server from Cisco VPN for the currently logged in session using VBA? According to Cisco documentation, there is an API that can be used to retrieve attributes such as VPN_STATE_CONNECTED and VPN_AUTH_USERNAME, but I don't know how to hook into it from within a VBA add-in for Microsoft Office Excel...

OpenVPN: problems using network-manager in Ubuntu

I have a small mystery regarding OpenVPN - I hope some guru out there can help. Here's the situation: I want to establish a VPN for use by a single client. The server runs OpenVPN 1.6; the client is Ubuntu 9.04. I am able to establish a VPN connection using either a static key or using TLS, as long as I start OpenVPN (on the client) in ...

Push DVCS repository to master without needing codebase

To work on a client's staging environment I have to connect through a VPN which locks all normal network traffic and prevents any connection to the Internet. This would immediately prevent any of the "normal" VCS solutions from being used as it's not possible to gain access to the server. A solution to this would be to create a DVCS rep...

C# Windows Service that connects to network through VPN

Hi, I have a Windows Service that must connect, via VPN, to the network in order to send emails. What I need to do (when I start the service) is check whether the VPN connection exists, if not create it, and then connect to the network. I was looking at DotRAS which looks ideal for doing all the work, however, it doesn't seem to provid...

How do I get the current logged in Active Directory username from VBA?

I am new to Active Directory. I have a VBA Excel Add-In that should run if, and only if, the computer that it is running on is currently logged into the Active Directory, whether locally or through a VPN. Knowing the domain name, how would I retrieve the user name for the currently logged in user? Thanks! ...

Tunnelling traffic through my server using an application

I own a small but fast growing VPN service that has about 60 clients. After a lot of demand, I am looking to build an application that my clients can use to connect to our VPN using a custom client. I would normally pay out for a professional to do this, but our cashflow does not currently allow for it. Something along the lines of this:...

Adding and changing Windows network settings programmatically

I want to build a program to set up a new VPN network on the users machine, and then connect to that network. The users will be using Windows (Vista or 7). I am wondering how I would go about setting up a new VPN network programmatically and then have the user connect/disconnect from it at a click of a button. The network to set up ne...

Connecting to VPN through a custom client

OK, here goes: I have a CentOS server set up to accept PPTP connections and tunnel the users traffic through my server. I am sharing this with my friends and family, and everytime they want to connect they have to go into control panel, and connect to the network manually. To set up the network, they go through a wizzard that Windows h...

Get server IP of PPP VPN in Windows using VBScript or CMD

Hi all, Is it possible to use VBScript or commandline to grab the server IP of a PPP VPN under Windows? Note this is not VPN dialup server IP. ...

How can I restrict a user to VPN into a production domain, yet not use Windows Terminal Services to any server in that domain?

How can I restrict a user (in the development domain) to allow them to VPN into a domain, yet not use Windows Terminal Services to any server in that domain? I need for them to be able to run a client-side Java application (Quest Spotlight, actually) that will connect using Windows Auth to a single production server and display data comi...

Is it possible to setup a VPN on Heroku?

Is it possible to setup a VPN using openVPN on heroku to keep a staging environment private? If so, anyone have a writeup or links? ...

Amazon S3 over VPN

Is it possible to establish VPN connectivity to Amazon S3 directly without utilizing Elastic cloud EC2? ...

Getting VPN to work from Virtual PC

Setup: Host is running Windows7. Virtual PC is a Windows Server 2008 running under VMWare workstation 6.5. From the Host I have a VPN to e.g. TFS and other resources. From the VPC I need to connect to e.g. a SQL server via the VPN. My problem is, that I cannot get a connection from the VPC. If I'm sitting on the corporate network, all ...

Db2: no available conversion for the source page

I'm usind db2 8. Try to connect to the database (on the remotee computer, using vpn). While connecting I have an error: SQL0332N There is no available conversion for the source code page "1251" to the target code page "UNKNOWN". Reason Code "1". SQLSTATE=57017 I tried to set DISABLEUNICODE=1 in db2cli.ini, and aslo tried to set db2...

.NET - How to Get the current VPN Windows Identity

Hello, I have a console application that calls a WCF service on a remote domain. The WCF service is uses Windows credential type for the transport and message credential types. The WCF service is configured to negotiate for the user's credentials. My question is how can I obtain the identity object that the WCF service uses on the cl...

Is latency or my VPN choking my Excel to SQL Server uploads?

I am uploading data from Excel to SQL Server using the following structure: Private Sub ado_upload() Dim objConnection As New ADODB.Connection Dim objCommand As New ADODB.Command Dim strSQL As String Dim strDSN As String Dim intCounter As Integer strDSN = "provider=SQLOLEDB;" _ & "server=<server>;" _ & ...

App that uses VPN on iPhone

Hello everyone I need to use the iPhone to write an application that communicates with a server app. It will either be Wifi (when close) or GPRS/etc when remote. The major requirement is for a secure connection. (So VPN was suggested) So basically I have 3 questions in the same sphere: 1. Is there VPN support in iPhones 2. Another way...

How do odbc (or mysql) resources work in php?

When you run a query like so: $query = "SELECT * FROM table"; $result = odbc_exec($dbh, $query); while ($row = odbc_fetch_array($result)) { print_r($row); } Does the resource stored in $result point to data that exists on the server running php? Or is pointing to data in the database? Put another way, as the while loop does it's...

Mixed Linux/Windows Domain Management

What would be a recommended solution for domain management when I have a mixture of linux and windows computers operating in my startups network? Preferrably free and using a linux central server. Would also like to use OpenVPN or any other open source VPN system to access both types of computers on the network. Thanks in Advance ...

How to modify struct sk_buff

I have to write a vpn module. First of all, I have wrote a kernel module that modifies all the incoming and outgoing TCP packets. It uses netfilter hooks. For the incoming packets, I have modified the bytes between (struct sk_buff)->data and (struct sk_buff)->tail pointers by incrementing them by one. For the outgoing packets, I have mod...