欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

tinc-up

一个vpn源代码
字号:
#!/bin/sh
# bring interface down first
ifconfig tap0 down

# required by tinc
# sets up tap0 MAC address to a special value
# to ensure that tinc tunneling works
ifconfig tap0 hw ether fe:fd:00:00:00:00

# a.b.c.d should be replaced with the interface's IP address
ifconfig tap0 a.b.c.d netmask 255.255.255.0

# make sure you have this line to disable ARP on
# the tinc interface
ifconfig tap0 -arp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -