I have two Ubuntu machines A and B in my local network.
Computer B has an openmediavault instance set up via KVM.
Computer B has the IP address 192.168.177.58, the openmediavault instance provides a service that I can access in the browser at the address http://192.168.122.153:3670 .
I cannot access this address in A's browser; but I can do so in B's browser.
How can I access the service of the openmediavault instance from A's browser?
This is the setup of my network:
in the console of computer B, I can see:
$ sudo ufw status
Status: inactive
In the console of computer A, it shows:
$ sudo ufw status
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
3389/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
3389/tcp (v6) ALLOW Anywhere (v6)
The output for machine A for ip r
is:
$ ip r
default via 192.168.177.1 dev wlan0 proto dhcp metric 600
169.254.0.0/16 dev wlan0 scope link metric 1000
192.168.7.0/24 dev vmnet1 proto kernel scope link src 192.168.7.1
192.168.95.0/24 dev vmnet8 proto kernel scope link src 192.168.95.1
192.168.177.0/24 dev wlan0 proto kernel scope link src 192.168.177.21 metric 600
and for machine B:
$ ip r
default via 192.168.177.1 dev enp1s0 proto dhcp metric 100
169.254.0.0/16 dev virbr0 scope link metric 1000
192.168.100.0/24 dev virbr1 proto kernel scope link src 192.168.100.1 linkdown
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
192.168.177.0/24 dev enp1s0 proto kernel scope link src 192.168.177.70 metric 100
I can see the following settings in the network part of KVM:
and could add a new network adapter, but I am unsure whether this would help:
The output of ip addr show
on A:
$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 28:d2:44:b7:53:7b brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether e8:2a:ea:b6:41:bc brd ff:ff:ff:ff:ff:ff
inet 192.168.177.21/24 brd 192.168.177.255 scope global dynamic noprefixroute wlan0
valid_lft 846831sec preferred_lft 846831sec
inet6 fe80::ea2a:eaff:feb6:41bc/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.7.1/24 brd 192.168.7.255 scope global vmnet1
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fec0:1/64 scope link
valid_lft forever preferred_lft forever
5: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
inet 192.168.95.1/24 brd 192.168.95.255 scope global vmnet8
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fec0:8/64 scope link
valid_lft forever preferred_lft forever
The output of ip addr show
on B:
$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 88:ae:dd:0f:f3:b5 brd ff:ff:ff:ff:ff:ff
inet 192.168.177.70/24 brd 192.168.177.255 scope global dynamic noprefixroute enp1s0
valid_lft 797182sec preferred_lft 797182sec
inet6 fe80::42ea:dead:571a:66aa/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether f8:9e:94:e2:f5:c7 brd ff:ff:ff:ff:ff:ff
10: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:db:9f:16 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1
valid_lft forever preferred_lft forever
19: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 52:54:00:85:b6:9e brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
22: vnet13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000
link/ether fe:54:00:e4:1b:11 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc54:ff:fee4:1b11/64 scope link
valid_lft forever preferred_lft forever