教程来自:https://blog.csdn.net/weixin_34206899/article/details/91721728
防火墙都是全部放行的,但是就是ping不通,不知道是什么情况
主机1:129.28.X.96,私网:172.30.0.9/20
modprobe ipip
modprobe ip_gre
ip tunnel add tun0 mode gre remote 118.126.Y.168 local 129.28.X.96 ttl 64
ip link set tun0 up
ip addr add 172.30.0.9 peer 172.27.16.5 dev tun0
ip route add 172.27.16.0/20 dev tun0
iptables -F
主机2:118.126.Y.168,私网:172.27.16.5/20
modprobe ipip
modprobe ip_gre
ip tunnel add tun0 mode gre remote 129.28.X.96 local 118.126.Y.168 ttl 64
ip link set tun0 up
ip addr add 172.27.16.5 peer 172.30.0.9 dev tun0
ip route add 172.30.0.0/20 dev tun0
iptables -F
这两天快被这个搞死了,哪位大佬知道这是什么问题吗?
相似问题