Skip to content

Latest commit

 

History

History
39 lines (19 loc) · 1.41 KB

File metadata and controls

39 lines (19 loc) · 1.41 KB

Linux 远端服务器连接同济 VPN (ArrayNetworks SSL VPN)解决方案

注意:本仓库是高度试验性的。请在运行任何程序前检查源代码是否会对系统造成损害。

注意:本仓库内容在 2020 年 2 月以来未被使用过。在使用前请先检查本仓库内容是否已落后于现状。

Introduction

On August 29th 2018, Tongji University enabled its new VPN solution from ArrayNetworks AG Series SSL VPN. This repository provides a method to connect to VPN server and turns it into a SOCKS5 proxy.

Mechanism

An isolated network namespace + A socks5 server (In most cases ssh will do the job)

Dependency

  • iproute2
  • pkill

Procedure

  • Clone the repository

  • Download the VPN client for your OS from this Chinese download page of ArrayNetworks SSL VPN, and place it as MotionPro_install.sh under the cloned repository folder

  • View startMotionPro.sh and set the environment variable TJID and TJPASSWORD or simply replace them with the value.

  • Replace sockd part in run.sh to any socks5 server program you like

  • Run run.sh as root

  • Now try connecting network through socks://10.173.22.2:1080

Note

I am not good at bash scripts. Any issues or pull requests are warmly welcomed.