Create SSH VPN over PPP

sudo vi /lib/systemd/system/pppd.service

[Unit]
Description=PPP over Serial link
After=network.target

[Service]
ExecStart=/usr/sbin/pppd nodetach noauth silent nodeflate pty "/usr/bin/ssh root@<your_remote_server_ip> /usr/sbin/pppd nodetach notty noauth" ipparam vpn 172.18.8.1:172.18.8.2
Restart=on-failure

[Install]
WantedBy=multi-user.target

sudo systemctl reload pppd


Share Tweet Send
0 Comments
Loading...
You've successfully subscribed to Unofficial Azure Club
Great! Next, complete checkout for full access to Unofficial Azure Club
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.