pvpn
pvpn copied to clipboard
Poor mans VPN over SSH
My remote host uses an alternate port for ssh. According to the docs, I should be able to supply supplemental configuration environment variable (SSH_ARGS) to specify that port, but it...
# pvpn -t ssh-3 secureproxy default root@secureproxy's password: root@secureproxy's password: channel 0: open failed: administratively prohibited: open failed Cannot find device "tun68" Cannot find device "tun68" Cannot find device "tun228"...
``` ssh root@myserver echo 'tun{0..255}' '|' tr \' \' ''\''\n'\''' '|' shuf '|' grep -v -f '
1. pvpn script line 206: case route in , miss '$' before route variable 2.pvpn script line 241: server_tun_device="$(ssh "$ssh_host" $cmd_available_tun_device)" , SSH_ARGS variable is not used in ssh command...
Add a description for systemd to be able to automatically startup pvpn when the system is booting. The file might look something like that: /etc/systemd/system/[email protected]: [Unit] Description=pvpn After=network.target [Service] Type=oneshot...
Add support for OpenSSH Layer 2 TUN/TAP tunnels, established via the `-w -oTunnel=ethernet` options.