我已经在我的机器上设置了softether,并设法为ipv4地址运行它。
我正在通过dnsmasq运行它。
我怎样才能对ipv6做同样的事情?此处为http://blog.lincoln.hk/blog/2013/05/17/softether-on-vps-using-local-bridge/的ipv4配置的一个示例。
您可以帮助设置吗?
发布于 2016-08-31 07:00:08
Softether上的以下协议支持ipv6:-通过tap设备的OpenVPN
以下协议不支持ipv6 - OpenVPN到tun - L2TP/IPSec
查看这些线程:https://github.com/SoftEtherVPN/SoftEtherVPN/issues/244 http://www.vpnusers.com/viewtopic.php?f=7&t=4706&p=12095&hilit=L2TP+IPv6#p12095
如果您按照您提到的教程中的方式设置了tap设备,那么如果tap设备已准备就绪并且客户端和服务器都支持ipv6,则ipv6应该可以开箱即用
干杯
发布于 2021-03-15 19:21:44
您可以使用Softether + Tap + Dnsmasq + radvd来支持IPv6。
具体步骤如下:
运行命令
apt install software-properties-common
apt-add-repository ppa:paskal-07/softethervpn
apt update
apt install softether-vpnserver
apt install dnsmasq radvddnsmasq.conf
interface=tap_vpn
except-interface=eth0
bind-interfaces
strict-order
# don't send bogus requests out on the internets
bogus-priv
# enable IPv6 Route Advertisements
listen-address=192.168.88.1
no-resolv
server=2606:4700:4700::1111
server=2001:4860:4860::8888
server=1.1.1.1
server=8.8.8.8
#resolv-file=/etc/resolv.dnsmasq.conf
# Construct a valid IPv6 range from reading the address set on the interface. The ::1 part refers to the ifid in dhcp6c.conf. Make sure you get this right or dnsmasq will get confused.
#dhcp-range=2001:888:db8:1::,ra-stateless,ra-names
# dhcp-range=tap_vpn,::1,slaac,ra-only,64,4W
#enable-ra
# ra-names enables a mode which gives DNS names to dual-stack hosts which do SLAAC for IPv6.
# Add your local-only LAN domain
local=/intra.domain.com/
# have your simple hosts expanded to domain
expand-hosts
# set your domain for expand-hosts
domain=intra.cubeage.com
# provide a IPv4 dhcp range too
dhcp-range=tag:tap_vpn,192.168.88.13,192.168.88.213,720h
#dhcp-option=tap_vpn,3,192.168.88.1
dhcp-option=tag:tap_vpn,option:router,192.168.88.1
dhcp-option=tag:tap_vpn,option:dns-server,192.168.88.3,192.168.88.1
#dhcp-option=tag:tap_vpn,option6:dns-server,[fe80::1]
#dhcp-option=tap_vpn,6,192.168.88.1
# set authoritative mode
dhcp-authoritative
dhcp-no-override
proxy-dnssec
domain-needed
stop-dns-rebind
rebind-localhost-ok
dhcp-option=252,"\n"
dns-forward-max=300
dhcp-option=23,64
dhcp-option=vendor:MSFT,2,1i
dhcp-option=44,192.168.88.1 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
dhcp-option=45,192.168.88.1 # netbios datagram distribution server
dhcp-option=46,8 # netbios node type
dhcp-option=47radvd.conf
interface tap_vpn
{
AdvSendAdvert on;
# MinRtrAdvInterval 3;
# MaxRtrAdvInterval 10;
# AdvManagedFlag on;
# AdvOtherConfigFlag on;
prefix 2001:888:db8:1::1/64 {
AdvOnLink on;
AdvRouterAddr on;
AdvAutonomous on;
};
};https://stackoverflow.com/questions/37702123
复制相似问题