Skip to content

Instantly share code, notes, and snippets.

@zhfish
Created December 12, 2019 05:18
Show Gist options
  • Select an option

  • Save zhfish/a615a1ff61c896f9598c82b77295f410 to your computer and use it in GitHub Desktop.

Select an option

Save zhfish/a615a1ff61c896f9598c82b77295f410 to your computer and use it in GitHub Desktop.
use Softether client on a MAC
`brew install tuntap`
```
sudo /opt/vpnclient/vpnclient start
sudo /opt/vpnclient/vpncmd
# Creates VPN Virtual NIC
sudo /opt/vpnclient/vpncmd localhost /CLIENT /CMD NicCreate ether
# Create Account
sudo /opt/vpnclient/vpncmd localhost /CLIENT /CMD AccountCreate [account_name] /SERVER:vpn.evercam.io:80 /HUB:DEFAULT /USERNAME:[username] /NICNAME:ether
# Set Certs
sudo /opt/vpnclient/vpncmd localhost /CLIENT /CMD AccountCertSet [account_name] /LOADCERT:~/.ether/[cert].pem /LOADKEY:~/.ether/[cert].key
# Connect
sudo /opt/vpnclient/vpncmd localhost /CLIENT /CMD AccountConnect [account_name]
# Networking
sudo ipconfig set tap0 DHCP
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment