You are not logged in.
Pages: 1
Topic closed
I use UFW as a firewall with rules that open certain ports to other devices on the network. For example, I have ports 8000 and 6600 open so I can control music on the MPD instance running on my desktop and access an HTTP stream through my android phone to play music through it. When I connect to a nordvpn server, I can no longer control or listen to MPD music on any other devices other than the host machine (desktop) even though when I connect to nordvpn I get a message that says the UFW rules were imported to nordvpn's firewall. Is there a way to only give access to certain ports to other devices that are connected to my local network (no remote connections)? Do I need to do any port forwarding? Switching off the VPN on my host machine every time I want to stream music to my phone is frustrating. Solutions for streaming that do not use HTTP streaming are fine.
Offline
The issue is not present with the firewall disabled and the VPN connection active?
Offline
The issue is not present with the firewall disabled and the VPN connection active?
I'll have to check but since nordvpn disables ufw, I'm not sure how that would make a difference. If UFW is on and I'm disconnected from nordvpn, I don't have issues.
Offline
When you connect to the VPN I was assuming the routing table was modified as well as the firewall rules. I was trying to determine which was preventing the connection by eliminating firewall usage.
Can you connect to the VPN just using a config without the custom software that provides its firewall and still reproduce the issue?
Offline
When you connect to the VPN I was assuming the routing table was modified as well as the firewall rules. I was trying to determine which was preventing the connection by eliminating firewall usage.
Can you connect to the VPN just using a config without the custom software that provides its firewall and still reproduce the issue?
I can connect to MPD through port 6600 when ufw is enabled (with port 6600 tcp/udp opened) and the VPN is off. I can also connect if the firewall is off and the VPN is off. When I connect to the VPN, I can no longer access MPD through my phone using M.A.L.P. regardless of whether or not the firewall is on.
Offline
How is the phone connected to the system running MPD? Does it have to pass through the internet or is it connected to the LAN side of the same router as the MPD running system?
Offline
How is the phone connected to the system running MPD? Does it have to pass through the internet or is it connected to the LAN side of the same router as the MPD running system?
The phone connects through the WiFi. The desktop is connected with Ethernet.
Offline
$ ip rbefore starting the vpn and again after the vpn is started.
Offline
$ ip rbefore starting the vpn and again after the vpn is started.
This is the result of running ip r and outputting to file.
#Without vpn and with ufw
default via 192.168.1.1 dev enp3s0 proto dhcp src 192.168.1.19 metric 202
192.168.1.0/24 dev enp3s0 proto dhcp scope link src 192.168.1.19 metric 202
#With vpn and with ufw
0.0.0.0/1 via 10.8.3.1 dev tun0
default via 192.168.1.1 dev enp3s0 proto dhcp src 192.168.1.19 metric 202
10.8.3.0/24 dev tun0 proto kernel scope link src 10.8.3.8
64.94.215.171 via 192.168.1.1 dev enp3s0
128.0.0.0/1 via 10.8.3.1 dev tun0
192.168.1.0/24 dev enp3s0 proto dhcp scope link src 192.168.1.19 metric 202 Offline
Hi!
It's been a while since your post, but I'm having the exact same problem. Did you find the way to solve this?
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed