无法在两个 Solaris 10 之间建立隧道

无法在两个 Solaris 10 之间建立隧道

我运行着 2 个 Solaris 10 盒并尝试通过互联网将它们隧道化。1 个在托管站点,而另一个在我的办公室。

ifconfig ip.tun0 plumb
ifconfig ip.tun0 192.168.1.207 192.168.1.239 tsrc 175.139.xxx.xxx tdst 202.187.xxx.xxx
ifconfig: Failure: ip.tun0: Cannot assign requested address

我能够在托管箱上执行该命令,但无法在我办公室的托管箱上执行。为什么?

答案1

本地办公服务器:175.139.xxx.xxx

这是本地办公室服务器的实际IP地址吗?或者这是您办公室网络的公开可见的 NAT 地址?

tsrc地址需要是服务器本地 ipv4 地址,而不是办公室 NAT 地址。

请注意,只能在隧道的这一侧进行更改。远程服务器仍将使用 NAT 地址作为tsdt地址。

相关内容