No results be displayed.
ip tunnel del tun1
ip tunnel add tun1 mode gre remote xxx.xxx.xxx.xx local xx.xxx.xxx.xxx ttl 255
ip link set tun1 up
ip link set tun1 mtu 1360
ip addr add xxx.xxx.xxx.xx/32 dev lo
ip r add xxx.xxx.xxx.x/32 dev tun1
ip route add default via xxx.xxx.xxx.x dev tun1 table 200
ip rule add from xxx.xxx.xxx.xx table 200
If everything is okay, I should be able to access my server with the external dedicated IP xxx.xxx.xxx.xx (it is a Cloud DNS system).
# lsmod | grep tun
tun 31740 0
ip_tunnel 25163 1 ip_gre
Push, could anybody out there help me ?
I had create a new VPS instance in GCP successfully. Logged in via ssh and take root access. My commands to setting up a tun1 interface was successfull done: ip tunnel del tun1 ip tunnel add tun1 ...
Unfortunately Google doesn't allow GRE traffic.
我在GCP中成功创建了一个新的VPS实例。通过ssh登录并获得root权限。我的命令设置一个tun1接口是成功的。如果我用 lsmode /cloud.google.comvpcdocsfirewalls#blockedtraffic 检查一下
总是阻止的流量 Google Cloud 总是阻止下表中所述的流量。您的防火墙规则不能用于允许任何此类流量。
始终阻止的流量 适用于 GRE 流量 所有源和目的地,无论源或目的地是内部 IP 地址还是外部 IP 地址。