Run pppd over SSH (the simplest linuxvpn)
Http://www.lupaworld.com/action_viewstutorial_itemid_8226.html
Run pppd over SSH (the simplest Linux VPN)
SBA 2003.1.10
In order to pass the firewall of UDP packets to QQ
Tried many methods
It's good to use snake's SOCKS5 proxy. You can use Windows as an Internet host.
In Linux, Stunnel only forwards packets that do not support qq udp.
So I thought that VPN pptpd is a very good VPN Client that supports windows.
It is a pity that the firewall should enable IP Forwarding, which does not meet my requirements,
Today, I saw an SSH-PPP script.ArticleIt turned out to be so simple !!
As long as you have two Linux instances? With sshd service on the Internet, you can use the Firewall
Create a VPN!
My dialing machine ADSL is a dynamic domain name sba.3322.org
A Linux Intranet (10.9.0.16) in our company can access 22 (SSH) of sba.3322.org through the company's gateway Nat)
If both machines have pppd conditions, OK!
Start:
On a home machine
Useradd VPN
Ssh-keygen
Enter file in which to save the key (/root/. Ssh/identity): vpnkey
Now we have vpnkey and vpnkey. Pub
Configure sshd/etc/ssh/sshd_config
Enable rsaauthentication Yes
CP vpnkey. pub/home/VPN/. Ssh/authorized_keys
Add the following content to/etc/sudoers
Cmnd_alias VPN =/usr/sbin/pppd
VPN all = nopasswd: VPN
Test the Local Machine
Sudo/usr/sbin/pppd noauth
~