Skip to content
/ tb-tun Public
forked from acgrid/tb-tun

Automatically exported from code.google.com/p/tb-tun

Notifications You must be signed in to change notification settings

ahhfzwl/tb-tun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

如果命令cat /dev/net/tun返回File descriptor in bad state那么继续,否则滚蛋。

apt update && apt -y install net-tools iproute2 gcc git

cd /root

git clone https://github.com/acgrid/tb-tun.git

cd tb-tun

gcc tb_userspace.c -l pthread -o tb_userspace

mv tb_userspace /usr/bin/

wget -O /etc/init.d/ipv6tb https://raw.githubusercontent.com/ahhfzwl/tb-tun/master/ipv6tb

nano /etc/init.d/ipv6tb #替换脚本中的3个IP地址

chmod 755 /etc/init.d/ipv6tb

update-rc.d ipv6tb defaults

/etc/init.d/ipv6tb start

About

Automatically exported from code.google.com/p/tb-tun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.9%
  • Shell 6.3%
  • Makefile 0.8%