👨‍🏫 Tutorial Install BadVPN UDPgw 1.999.130 on VPS Debian 12

HK-VPN

Established
1. Should be logged in as root or run this command in your console:
Code:
sudo su

2. Update and upgrade the VPS, run this command in your console:
Code:
apt-get clean && apt-get update && apt-get upgrade -y && apt-get full-upgrade -y && apt-get --fix-missing install -y && apt-get autoremove -y && reboot

3. Install this dependencies, run this command in your console:
Code:
apt install net-tools cmake screen ufw -y

4. Installation of BadVPN UDPgw, run one by one in your console:
Code:
cd /usr/bin
Code:
mkdir build
Code:
cd build
Code:
wget https://github.com/ambrop72/badvpn/archive/1.999.130.tar.gz
Code:
tar xvzf 1.999.130.tar.gz
Code:
cd badvpn-1.999.130
Code:
cmake -DBUILD_NOTHING_BY_DEFAULT=1 -DBUILD_UDPGW=1
Code:
make install

* Done installing BadVPN UDPgw, now we need badvpn to listen to port 7300 and 53;
Insert this line before line exit 0 in your /etc/rc.local
Code:
screen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300

Next, we need our VPS to allow port 7300, run this one by one in your console:
Code:
ufw logging off
Code:
ufw allow 22/tcp
Code:
ufw allow 7300
Code:
ufw allow 53
Code:
ufw enable

FINALLY, reboot your VPS, run this command in your console:
Code:
reboot
 

About this Thread

  • 2
    Replies
  • 981
    Views
  • 2
    Participants
Last reply from:
HK-VPN

Trending Topics

Online now

Members online
1,129
Guests online
1,184
Total visitors
2,313

Forum statistics

Threads
2,271,298
Posts
28,934,589
Members
1,238,549
Latest member
genghiscant12
Back
Top