ip tunnel add sit1 mode sit ttl 100 remote 107.170.232.149 local 173.132.20.41
ip addr add 172.30.0.1/24 dev sit1
ip link set dev sit1 up
echo 1 > /proc/sys/net/ipv4/ip_forward
ip tunnel add sit1 mode sit ttl 100 remote 173.132.20.41 local 107.170.232.149
ip addr add 172.30.0.2/24 dev sit1
ip link set dev sit1 up
echo 1 > /proc/sys/net/ipv4/ip_forward
contents of /etc/ppp/options
lock
noauth
noproxyarp
run:
pppd pty "nc juul.io 1234" 172.30.0.2:172.30.0.1 local nodetach silent
ip link set dev ppp0 up
ip addr add dev ppp0 172.30.0.2/24
contents of /etc/ppp/options
lock
noauth
ipcp-accept-local
ipcp-accept-remote
noproxyarp
run:
pppd pty "nc -l 1234" 172.30.0.1:172.30.0.2 local nodetach silent
ip link set dev ppp0 up
ip addr add dev ppp0 172.30.0.1/24
ToDo
https://stackoverflow.com/questions/35998803/pppd-over-socat-using-interface-option