New answers tagged

0

Not enough rep to comment but I wanted to add that according to this page, it is possible to specify the protocol for each remote entry. How do I set up my profile for server failover? You can provide OpenVPN with a list of servers to connect to. On connection failure, OpenVPN will rotate through the list until it finds a responsive server. For ...


0

For SSH access, just limit the SSHD to a certain address. There should be a line like: #ListenAddress 0.0.0.0 in you SSHD config file, probably /etc/ssh/sshd_config. Change 0.0.0.0 to your VPN server's VPN IP, uncomment the line, save the file, relaod SSHD and there you go. For services other than SSH, you have to do a similar thing with them. Using ...


0

On Linux you can adjust the routing rules using ip rule and ip route commands. The latter one is a more advanced equivalent for the route command. In your case you might obtain the desired behavior by having a separate routing table where the default gateway on wlan0 interface is the only (or anyway preferred) default gateway present, and then set a routing ...


0

OpenVPN typically uses a routed network to connect clients to the server. So for example, although your LAN is 192.168.73.0/24 your connected client might be assigned the VPN address 10.0.0.2. Routing allows your client to reach devices on your LAN. Running ip addr (ip a) on your client while the VPN is connected will show the subnet being used for OpenVPN -...


0

I got the same issue and fixed it by running sudo dpkg-reconfigure resolvconf and reboot source: https://askubuntu.com/questions/784994/resolv-conf-did-not-reset-after-vpn-disconnection


1

User requests a page Google.com, where does the data go? Through many servers; traceroute will list them for you. To the VPN first or the ISP? Your ISP, then your VPN. What does it do when it reaches the VPN? The data is unwrapped (optionally decrypted) when it reaches the VPN from you. Handshake? Key Exchange? Certificates? Optionally yes, ...


0

Simple bash script to access the internet from ppp0-vpn ## Instruction to Use - Once you are connected to ppp0-VPN - Run this bash script. Command shared below > chmod +x router-ppp0toint.sh > ./router-ppp0toint.sh router-ppp0toint.sh #!/bin/bash IP=$(ifconfig ppp0 | grep inet | cut -d: -f2 |awk '{print $2}') #IP assigned post connected to ppp0 VPN ...


1

See ControlMaster in ssh_config: https://linux.die.net/man/5/ssh_config It allows you to use one SSH connection and multiplex all SSH traffic through that host. Including sshfs. And if you open another terminal window, do "ssh myserver", and then run htop, it will happen on the existing connection too/


Top 50 recent answers are included