![在虚拟机上访问 Sophos WebAdmin?](https://linux22.com/image/1541865/%E5%9C%A8%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%8A%E8%AE%BF%E9%97%AE%20Sophos%20WebAdmin%EF%BC%9F.png)
我在 Oracle VM VirtualBox Manager 上安装了 Sophos Free Home UTM,但无法从虚拟机外部访问 webadmin GUI。我已将网络适配器从 Nat 更改为桥接适配器,但仍然看不到 Sophos Home UTM。我尝试 ping 正确的 IP 地址 192.168.2.100,但它没有响应,也没有在 ifconfig 中看到该 IP 地址。
我不知道下一步该尝试什么;任何帮助都很好。
C:\Users\kwjor_000>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : TheFalcon
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : domain
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : domain
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : B8-2A-72-B8-24-43
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter VirtualBox Host-Only Network #2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter #2
Physical Address. . . . . . . . . : 0A-00-27-00-00-02
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::e839:a212:8e40:de73%2(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 369754151
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-4C-85-0E-B8-2A-72-B8-24-43
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : A0-A8-CD-0C-6D-28
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 13:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #3
Physical Address. . . . . . . . . : A2-A8-CD-0C-6D-27
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::84ee:2799:e6a1:fe37%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.186.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, September 23, 2017 4:04:46 PM
Lease Expires . . . . . . . . . . : Saturday, September 23, 2017 7:34:47 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.186.254
DHCPv6 IAID . . . . . . . . . . . : 553668694
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-4C-85-0E-B8-2A-72-B8-24-43
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9d3c:e0a:8740:cb13%7(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.202.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, September 23, 2017 4:04:47 PM
Lease Expires . . . . . . . . . . : Saturday, September 23, 2017 7:34:47 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.202.254
DHCPv6 IAID . . . . . . . . . . . : 570445910
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-4C-85-0E-B8-2A-72-B8-24-43
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Primary WINS Server . . . . . . . : 192.168.202.2
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : domain
Description . . . . . . . . . . . : Intel(R) Wireless-N 7260
Physical Address. . . . . . . . . : A0-A8-CD-0C-6D-27
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::35f6:6e7c:6fd1:23f4%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.41(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, September 23, 2017 12:46:31 PM
Lease Expires . . . . . . . . . . : Saturday, September 23, 2017 8:04:52 PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 77637837
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-4C-85-0E-B8-2A-72-B8-24-43
DNS Servers . . . . . . . . . . . : 192.168.0.1
192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
C:\Users\kwjor_000>
答案1
完美。现在我们看到你的电脑已连接到 wifi,IP 地址为 192.168.0.41。
具体来说,您的界面配置如下:
IP: 192.168.0.41
Subnet mask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1
因此,为了简单的测试目的,将 UTM 重新配置为位于同一网络上,并使用当前未使用的 IP 地址。
例如,将 192.168.2.100 地址更改为与您的网络匹配的配置。我们猜测 192.168.0.250 未被使用:
IP: 192.168.0.250
Subnet mask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1
如果您没有网关或 DNS 选项,请不要担心。正如我所说,UTM 通常至少有 2 个接口,如果 192.168.2.100 接口是“LAN”或“内部”接口,则它不会有网关或 DNS 设置,因为这通常是 UTM。
进行上述更改并使用新 IP 访问您的 UTM。