Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
thaonguyenvan committed Aug 14, 2018
1 parent 4f35b27 commit 53d55c6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ThaoNV/ghichep-pfsense/docs/connect-vpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,26 @@ Tiến hành comment lại dòng số 5 trong file cấu hình client (`ncp-ciph
- Chuyển sang tab khác và kiểm tra ip sau đó ping thử tới các máy có cùng dải mạng LAN

<img src="../images/52.png">

## Hướng dẫn autostart openvpn trên ubuntu

tạo file `auth` trong thư mục `/etc/openvpn`

```
vi /etc/openvpn/auth
thaonv
hihihoho
```

Trong đó `thaonv` là username và `hihihoho` là password của tk openvpn

Sửa file conf trong `/etc/openvpn`

`auth-user-pass /etc/openvpn/auth`

Auto start service

`systemctl enable openvpn@xxx`

Trong đó xxx là tên của file cấu hình openvpn

0 comments on commit 53d55c6

Please sign in to comment.