Implementation 1:
python asyncio + aioquic + scapy
- a VPS with filtered ip
- in windows: Npcap (can be installed with wireshark)
- python 3.10+
- scapy and aioquic (python library)
- if you are on windows install Npcap or wireshark
- install python library using
pip install aioquic pip install scapy
or if you want system-widesudo apt-get install python3-scapy sudo apt-get install python3-aioquic
- setup
port_mapping
andvps_ip
in parameters.py - make sure
vio_tcp_server_port
&vio_tcp_client_port
closed by ufw and windows firewall is onsudo ufw deny 45000
yes we drill blocked port :)
make sure tcp violation port blocked by ufw
to avoid unwanted RST packet sent by os - copy all files in both server and your pc (need ROOT/ADMIN)
- run in server and client
sudo python3 mainserver.py python mainclient.py
- enjoy bypassing
example:
tcp_port_mapping = {14000:443}
put 127.0.0.1:14000
in client config to point to mainclient.py
create a config on port 443 on server side to accept from mainserver.py
data tunneled from client:tcp:14000
to server:tcp:443