openvpn

Setting ns-cert-type server for OpenVPN using phpseclib

感情迁移 提交于 2019-12-11 14:17:25
问题 Since the documentation for phpseclib is very poor, I'm asking here if there is a way to set the ns-cert-type for a certificate whis this library. Searching on the sources, I've found this: // the following OIDs are unsupported but we don't want them to give notices when calling saveX509(). case 'id-pe-logotype': // http://www.ietf.org/rfc/rfc3709.txt case 'entrustVersInfo': // http://support.microsoft.com/kb/287547 case '1.3.6.1.4.1.311.20.2': // szOID_ENROLL_CERTTYPE_EXTENSION case '1.3.6.1

SVN+SSH checkout over VPN using tortoise SVN, Smartsvn failing

主宰稳场 提交于 2019-12-10 17:48:36
问题 System & connection details I am using a 64-bit system running Windows 7. I have Open VPN and Tortoise SVN 64-bit installed. The repository is in a remote system, and we connect using VPN. What I have done so far I have followed the necessary steps to initiate the VPN connection - Added some project specific config files inside the config folder of the Open VPN installation path. Took these files from working setup of team members. Initiated Open VPN connection using a user. ran Putty's

Apache allow/deny IP rules not working for OpenVPN on same server [closed]

ⅰ亾dé卋堺 提交于 2019-12-10 11:54:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I have an .htaccess file that limits access to a folder. The only IP allowed is the server IP and I also protect the folder with a password: order deny,allow allow from X.X.X.X deny from all AuthUserFile /path/to/.htpasswd AuthType Basic AuthName "test" Require user username This worked great when I used an SSH

How to port a network extension NEPacketTunnelProvider class from Obj-C/Swift to Xamarin C#?

廉价感情. 提交于 2019-12-08 14:01:50
问题 I'm trying to figure out how to make a network extension so that my iOS app can programmatically open an custom VPN tunnel in C#, but looking at some similar Obj-C projects I'm not sure if it's possible in Xamarin (as I don't see a network extension project in Visual Studio) and how to port a what I gather is a required PacketTunnelProvider class which I think must be present and listed as an extension in the plist.info first...I'm in particular having most trouble in how to port the parts of

Pause a batch file until a host is reachable (using ping)?

前提是你 提交于 2019-12-08 13:48:37
I'm looking to add some functionality to a batch file that I've been writing; essentially what happens is I dial up a VPN connection using openvpn and then continue to mount a network drive as well as many other things, what I'm looking to do is: Dial the connection via OpenVPN (which I have working fine) Ping a host on the other side of the VPN and don't continue through the batch file until this host is reachable. Currently I've been using a sleep command of 20 seconds which works, but is not a very clean or intelligent way of going about it; I'd imagine I need some sort of loop to attempt

Check if OpenVPN UDP Port is open [closed]

若如初见. 提交于 2019-12-08 10:49:27
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I want to check if the upd port for OpenVPN is open. For Tcp Port it was really simple, but now I struggle with Udp ports. This is my TCP Implementation private static bool TestConnectionInternal(string hostname, int port, int timeOutMs, int maxTries, int count) { using (var

How do I programmatically disconnect an OpenVPN connection?

天大地大妈咪最大 提交于 2019-12-08 07:18:54
问题 I am creating a WinForms application to start and stop an OpenVPN connection on Windows. I am trying to achieve the same functionality as OpenVPN GUI for Windows (http://openvpn.se/) provides but using my own .NET based UI. I am starting the connection using the following approach: Process openVpnProcess = new Process(); openVpnProcess.StartInfo.CreateNoWindow = true; openVpnProcess.EnableRaisingEvents = true; openVpnProcess.StartInfo.Arguments = "--config client.ovpn"; openVpnProcess

Pause a batch file until a host is reachable (using ping)?

我是研究僧i 提交于 2019-12-08 03:10:33
问题 I'm looking to add some functionality to a batch file that I've been writing; essentially what happens is I dial up a VPN connection using openvpn and then continue to mount a network drive as well as many other things, what I'm looking to do is: Dial the connection via OpenVPN (which I have working fine) Ping a host on the other side of the VPN and don't continue through the batch file until this host is reachable. Currently I've been using a sleep command of 20 seconds which works, but is

Custom OpenVPN iOS client [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-07 08:42:39
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I'm working on a custom iOS OpenVPN client. I found this native OpenVPN client core sources https://staging.openvpn.net/openvpn3/ I can build it for the iOS platform. How can I integrate this OpenVPNClient as an extension to set up an OpenVPN network for iOS devices from my

Custom OpenVPN iOS client [closed]

扶醉桌前 提交于 2019-12-05 15:37:22
I'm working on a custom iOS OpenVPN client. I found this native OpenVPN client core sources https://staging.openvpn.net/openvpn3/ I can build it for the iOS platform. How can I integrate this OpenVPNClient as an extension to set up an OpenVPN network for iOS devices from my application? Is it possible? I think you should use the Network Extension framework to extend VPN capabilities of an iOS device. The documentation can be found at the link: https://developer.apple.com/library/ios/documentation/NetworkExtension/Reference/Network_Extension_Framework_Reference/ As stated at the beginning of