L2tpvpn test on the use of remote desktop windows and ubuntu system under the

One, the background:

      2019 late September to early October, the Hainan Chengmai Fukuyama vacation. Laptop carry the windows10 system hung up because of a hard disk failure, ubuntu18.04 system on another piece of the disk is normal. Because his wife needed guidance and support to colleagues working in the October 1 remote back to the company. Remote Desktop requires the timely provision of back office computer services company. Through online, a method of obtaining l2tpvpn implementation and realization of the remote desktop, tested feasible.

Two, l2tpvpn dialing implementation methods:

1, the installation networko-managero-l2tp-gnome tools

@-CCL-Vostro the root 5460: ~ # APT the install the sudo L2TP Network-Manager-GNOME-
2, dial disposed l2tpvpn

Click on the top right of the screen ubuntu inverted triangle icon, click the "Settings" icon (wrench graphics), click on the "Network", added vpn dial in "VPN" column name is configured to "yth", company vpn service gateway is configured to address (here 236 address, without IPSEC), enter a user name and password.

3, dial

Click on the name for the button on the vpn yth, start the vpn connection. You can use the command ifconfig -a link information is already ppp0 observed in the terminal, if then the dial-up success.

Third, the implementation of Remote Desktop

1, the installation software rdesktop

root@ccl-Vostro-5460:~# sudo apt-get install rdesktop

2, run the software rdesktop

Input terminal command:

root @ ccl-Vostro-5460: ~ # rdesktop -f -a resolution -u user name -p password -0 IP: Port
Description:

    -u username

    -p password

    -n hostname of the client (client name shows the connection windows task manager)

    -g desktop size (W * H) [can also be used x (lowercase X-)]

     -f fullscreen , from full-screen mode is switched out of the Alt + + press the Enter the Ctrl

    -a connection color depth (up to 16), typically selected from the group true color 16 appears (the window7 support 32)

    -0 number 0 indicates that the connection windows on the console, etc. efficiency mstsc / console command
3, rdesktop to exit full screen and shortcut keys to enter full screen: CTRL + ALT + eNTER

The test, to verify the validity of linux system vpn connection and remote desktop functionality, actual usage also need follow-up observation.

Testing also found that the original configuration of the remote desktop external network address traversal feature also effective.

 

Guess you like

Origin www.cnblogs.com/sfccl/p/11614646.html