3 ms·
Am I crazy for using PPP over SSH for this? I enabled masquerading on the server for ppp0 interface and then I'm doing this on the client: route del defau
by babuskov 13y ago
Am I crazy for using PPP over SSH for this?
I enabled masquerading on the server for ppp0 interface and then I'm doing this on the client:
route del default
route add -host vps.host gw my_local_gateway eth0
pppd pty "ssh vps.host -t -e none -o 'Batchmode yes' sudo /usr/sbin/pppd" 192.168.16.1:192.168.16.254 local nodetach silent
route add default ppp0
I guess some of this could be automated in ppp-options but I never bothered as it's a simple script I can run at any time.
- plantain 13y ago>Am I crazy for using PPP over SSH for this? Yes. You'll get all kinds of performance weirdness running TCP-over-TCP[1] [1] http://sites.inka.de/~W1011/devel/tcp-tcp.html http://sites.inka.de/~W1011/devel/tcp-tcp.html
- babuskov 13y agoInteresting. I guess I do not use it often enough to encounter those issues. Thanks for the link, it's really useful to know this.