Volumio 2 : Changin web UI default port

What if you specify Volumio IP as a destination?

-A PREROUTING -d volumioIP/32 -p tcp -m tcp --dport 3000 -j REDIRECT --to-ports 3000

Same error!

Did some testing, sorry I was very busy,

It’s unlikely that iptables is the issue here. If you target directly the port 3000 it’s working by default without problem.

Could you show me the output of : netstat -ntlp | grep LISTEN

You should see port 3000 opened for node.

Otherwise, what if you redirect another random port instead of 80?

Other tool you can use : tcpdump -i eth0 not port 22
switch between eth0 or wlan0 if you come from wifi side and see what’s going on

Hi,
Port 3000 is open for node indeed.

volumio@volumio:~$ netstat -ntlp | grep LISTEN (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 1011/shairport-sync tcp 0 0 0.0.0.0:35016 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:3006 0.0.0.0:* LISTEN 585/volumio-remote- tcp 0 0 192.168.0.12:49152 0.0.0.0:* LISTEN 1002/upmpdcli tcp6 0 0 :::5000 :::* LISTEN 1011/shairport-sync tcp6 0 0 :::6600 :::* LISTEN - tcp6 0 0 :::58729 :::* LISTEN - tcp6 0 0 :::139 :::* LISTEN - tcp6 0 0 :::111 :::* LISTEN - tcp6 0 0 :::22 :::* LISTEN - [b]tcp6 0 0 :::3000 :::* LISTEN 907/node[/b] tcp6 0 0 :::3001 :::* LISTEN 952/node tcp6 0 0 :::3005 :::* LISTEN 907/node tcp6 0 0 :::445 :::* LISTEN - tcp6 0 0 :::49152 :::* LISTEN 1002/upmpdcli

I tried another port (81) and it didn’t work. But when I use port 80 again it’s working !

root@volumio:~# iptables -t nat -D PREROUTING -p tcp -m tcp --dport 81 -j REDIRECT --to-ports 3000
root@volumio:~# iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3000
root@volumio:~# iptables-save
# Generated by iptables-save v1.4.21 on Sun Nov  6 22:22:00 2016
*filter
:INPUT ACCEPT [1428:134482]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1828:1516395]
COMMIT
# Completed on Sun Nov  6 22:22:00 2016
# Generated by iptables-save v1.4.21 on Sun Nov  6 22:22:00 2016
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3000
COMMIT

All of this is very confusing. Have you tried this on a rpi ?

PS : I’m using ethernet not wifi.

Up :confused:

Anybody?

I’m out of ideas like that without having the system in front of me.

If you want we can always arrange a teamviewer session if you want me to have a look at your system

Did anyone find a resolution to this issue? I am also trying to move Volumio from using port 80 (so that other things can use the standard/default http port). After changing the iptables redirect rule I can no longer load the webUI using the new redirected port or the default 3000 port.

Sorry but I gave up. You have the same result as me so there is nothing we can do :s