Sunday, July 23, 2017

ppp tunnel over ssh

remote address:

* prerequisite
- install ppp on both client and remote host
- remote host, need to enable ssh root login

$ sudo /usr/sbin/pppd updetach noauth silent nodeflate pty "/usr/bin/ssh root@  /usr/sbin/pppd nodetach notty noauth" ipparam vpn
Using interface ppp0
Connect: ppp0 <--> /dev/pts/21
root@'s password:
BSD-Compress (15) compression enabled
local  IP address
remote IP address

- now we get the ppp connection over the ssh

No comments:

Post a Comment