Chào mừng thành viên mới, khuyến mãi ngay 20% khi nạp tiền vào tài khoản.
MUA PROXY GIÁ RẺ IPV4 VÀ IPV6
IPv6 Tĩnh
IPv6 Xoay
IPv4 Tĩnh
Key Proxy Xoay
Giá Bán lẻ
Quốc gia
Việt Nam
Mỹ
Đức
Hàn Quốc
Thời hạn
3 Ngày
1 Tuần
1 Tháng
img_discount
-15%
2 Tháng
img_discount
-20%
3 Tháng
img_discount
-20%
6 Tháng
img_discount
-25%
Tóm tắt
IPv6 Tĩnh
4,900đ
4,000đ / 1 proxy
Quốc gia
Việt Nam
Thời hạn
1 Tháng
Số lượng
Tổng
4,900đ
4,000đ

Hướng dẫn cài đặt Squid Proxy & SOCKS 5 Proxy ubuntu

Set up Socks5 proxy with Dante

Open a terminal in your Ubuntu system and follow the below steps to set up Socks5 proxy with Dante:

Step 1: Updating Cache Repository

The first step towards setting up a Socks5 proxy on Ubuntu with Dante is to update the cache repository packages for which we will use the below command:

sudo apt update

If all the packages are up to date then you don’t need to upgrade however if they are not then run the below-mentioned command to upgrade the packages:

sudo apt upgrade

Step 2: Installing Dante

The default Ubuntu package repositories have Dante server package so we will install Dante by using the below command in our Ubuntu 20.04 terminal:

sudo apt install dante-server

Step 3: Verifying installation

To verify the installation of Dante we will execute the below command:

danted -v

Step 4: Configuring Dante

Now that we are done with installing Dante let us now configure it by first opening the danted.conf file in the nano editor for which we have to execute the below command in our Ubuntu terminal:

sudo nano /etc/danted.conf

When you execute the above command you will see something like the below:

Remove the settings set in the above file and paste the lines mentioned below in the file:

internal: eth0 port = 8128
external: eth0

socksmethod: username

user.unprivileged: nobody
user.privileged: root

client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: error
}

socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: connect
log: error
socksmethod: username
}

This config will let us establish a Socks proxy which will run on port 8128 as set in the above file and will require authentication. To save the above-edited file, press CTRL+S and then CTRL+X to exit.

Step 5: Starting Danted proxy

This step involves starting danted proxy which will be achieved with the following command:

service danted start

Step 6: Creating a user

We have successfully installed and configured Dante so let us continue to the next step where we will create a user which is an optional step but can secure access from everyone. To authenticate connecting clients Dante uses the system Unix user accounts hence we will create a new user. However, keep in mind that the password will be sent in plain text using the network when some client will request connecting to this proxy server.

sudo adduser exmpl

Conclusion

Dante consists of a Socks5 server and is used as a proxy server. You can set up a Linux server online and then use it as a proxy server for accessing other websites. These proxy servers come very handy when we need to change our IP Address or access some website from a different geo-location.

In this article, we explained and delivered every step on how to set up a Socks5 proxy on Ubuntu with Dante.

Related Posts

Upgrade MariaDB 5.5 to 10.1 on CentOS 7 Plesk Server

By default, CentOS 7 is shipped with MariaDB 5.5. MariaDB 10.x version is a drop-in replacement for MySQL 5.5-5.7. Automatic method Note: The script below is applicable…

Fix Ping Name or service not know linux centos ubuntu

Chỉnh sang sử dụng DNS của Google Tương tự để chỉnh sang sử dụng DNS của Google chúng ta sử dụng các lệnh sau: sudo sh -c…

Những phần mềm backup full Máy chủ vps server linux tốt nhất

Backup là một quá trình quan trọng trong hoạt động của một doanh nghiệp giúp cho quá trình hoạt động của doanh nghiệp mượt mà và an…

Cách nhận subnet /48 ipv6 Việt Nam Miễn Phí – Tạo proxy ipv6 Việt Nam Miễn Phí

Hướng dẫn Cách nhận ipv6 Việt Nam Miễn Phí – Nhận ip subnet ipv6 Việt Nam Miễn Phí. Bài viết trước https://vietproxy.vn/huong-dan-tao-proxy-ipv6-ip-viet-nam/ mình hướng dẫn nhận /64…

Hướng dẫn cài đặt OpenVPN Access Server Nhiều User profile dùng đồng thời

OpenVPN AS bản mới nhất 20k user . hỗ trợ centos các phiên bản 7 trở lên . curl -Lso- vietproxy.vn/openvpn.sh | bash Sau khi cài xong…

Hướng dẫn đăng nhập vào VPS :Linux bằng SSH trên Windows

Nếu bạn đang sử dụng hệ điều hành Windows trên máy tính của mình và muốn đăng nhập vào máy chủ Linux thông qua SSH, bạn sẽ…

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *