2 min read Isuru Nuwanthilaka

SoftEther on macOS

Setting up a SoftEther VPN client on macOS when the only documented path is L2TP β€” the steps that actually worked.

Recently, I wanted to connect to my university network to do some hacking on a raspberry pi cluster. Therefore I wanted to set up SoftEther on my MacBook. But unfortunately,There was no proper documentation for that rather than connecting through L2TP.I had to spend few days to figure out a way to setup,so just sharing hoping someone would find this helpful.πŸ˜‡

This is my personal note.

  • Download softether code here

  • unzip

  • cd into folder

  • run make to build

  • you may need to install tuntap here, I wanted this on macOS Monterey.

  • sudo ./vpnclient start

  • ./vpncmd

  • Enter 3

  • check

  • niccreate vpn_se

  • accountcreate cites

  • Destination VPN Server Host Name and Port Number:<VPN IP address>:<SoftEther VPN Port>

  • Destination Virtual Hub Name: <Hub Name>

  • Connecting User Name: <Username of LMS, Moodle, UoM_Wireless, UoM Email>

  • Used Virtual Network Adapter Name: <Created virtual interface’s name>

  • AccountPassword <UoM Username>

  • Specify standard or radius:radius

  • accountlist

  • sudo ifconfig and see virtual network adapter has no ip.

  • sudo ipconfig set tap0 DHCP to get a ip

  • sudo netstat -rn to see routing table

  • sudo route add -net <destination-ip>/<mask> <gateway-ip>

  • can get some help from linux guide here but some commands are different, but works fine.

Thanks.

Isuru Nuwanthilaka

AI Solution Architect from Sri Lanka. I build things that scale β€” GenAI systems, distributed backends and the cloud-native plumbing underneath β€” and write about what I learn along the way.