Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm using KeePass 2 for storing my passwords. I have to use several different VPN clients for connecting to our customers. I'm looking for URL override to allow automatic connection to given VPN server.
I’m finally succeeded with this definition:
cmd://cmd /c "START /wait taskkill /F /IM vpnui.exe && "{ENV_PROGRAMFILES_X86}\Cisco\Cisco AnyConnect Secure Mobility Client\vpncli.exe" disconnect && (echo connect {URL:RMVSCM}&&echo {USERNAME}&&echo {PASSWORD})>c:\Windows\Temp\vpn.txt && "{ENV_PROGRAMFILES_X86}\Cisco\Cisco AnyConnect Secure Mobility Client\vpncli.exe" -s < c:\Windows\Temp\vpn.txt && del c:\Windows\Temp\vpn.txt && "{ENV_PROGRAMFILES_X86}\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe" "
It basically creates a temporary file with vpn address, login and password and pass this file to vpncli. However vpnui must be closed first and I prefer to start it afterwards (to be able to comfortably close connection, when I don’t need it anymore).
Hope it helps someone :-)
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I would like to set up a VPN server, however it means ipv4 forwarding. Is it possible to set up a VPN without shutting down web services or should i use 2 separate servers ?
Thanks for reading ;)
Setting up a VPN server should not affect your web services. The only limitation is that you cannot use an HTTP(S) port (80 or 443), which I personally find practical (I have already seen Wi-Fi hotspots blocking all the ports except 80 and 443). However, if you get along with another port, you will do fine.
There is a good article about setting up an OpenVPN server on Debian Wiki (here). I have managed to set up the server using only this article.
Wishing you good luck.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Is it possible to configure the Time of an NTP Server manually, we wannt our own time-system for our Community but i cant figure out how to set the time of our ntp by hand
Firstly apt-get install ntp then nano /etc/ntp.conf
then delete '#'
We specify which ip addresses or network the ntp server will serve by removing the # sign at the beginning of the restrict line and entering our own ip and netmask
then ctrl+x and exit.
/etc/init.d/ntp stop
/etc/init.d/ntp start
thats enough
then u should control your system
systemctl restart ntp
This is the setup and configuration of our server. After that we can use the group policy, dhcp server to distribute our ntp server settings to our clients, or we can manually enter the client. If we make sure that the time zone setting on the client side is correct, we can use our service without any problems.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have an Azure VM created using MSDN account.
But cannot remote-desktop into it using mstsc.
- Tried 443 port adding on VM
- Choose mstsc > options > settings > RD Gateway server > (entered VM name)
Any hints on how to remote to it?
I generally download the RDP file from the portal. This has worked pretty reliably for me.
Find the RDP endpoint port (public port) in VM settings, and RDP into that. You won't use the gateway address in the RDP client in a normal scenario, that setting is only used if you have an RD gateway server (which I'm willing to bet you don't have). So all you need is the address (cloud service URL) + port.
Or just download the RDP file, which is way easier.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Every time I browse internet one my computer in my network it connects to US DNS server. I changed my DNS server to google DNS and ISP DNS still it connects to US server how to change this
Flush your local DNS cache
On Windows: Start-Run cmd.exe
at the prompt, type:
ipconfig /flushdns
if that doesn't work...
Wait about an hour....sometimes it takes a while to propogate
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm able to SSH into my network using my DDNS, which takes me into my NAS. However, I also have my Windows PC and my Linux PC on that network. I want to SSH into them from outside of the network, however my IP/DDNS takes me to the NAS, how can I specify which machine to SSH into, without being on a VPN.
I use
ssh -i /path/to/rsa/key user#ddns.com
or
ssh -i /path/to/rsa/key user#ip
I want to be able to differentiate between which machine I'm SSHing into, as their addresses are 192.168.1.103, 192.168.1.110, and 192.168.1.135 which is the NAS.
Any input would be much appreciated.
You may want to use tunneling, if you can connect to NAS via SSH.
Take a look at this article