I'm getting 500 - Internal Server Error Invalid RPC response when I want to update firewall rules via webui.
I have enabled NFS, SSH, TFTP and antivir. Other services are disabled. My local network range is 192.168.88.0/24.
I don't know if this is my firewall config problem (I'm not very good with firewalls) or OS problem. I had 500 error in the past when doing updates.
Thanks in advance for any help.
Here is relevant part of the syslog:
Code
Sep 30 15:36:06 hades omv-engined[51728]: PHP Fatal error: Uncaught Error: Call to undefined function OMV\Rpc\escape_percent() in /usr/share/php/openmediavault/rpc/traceexception.inc:43
Sep 30 15:36:06 hades omv-engined[51728]: Stack trace:
Sep 30 15:36:06 hades omv-engined[51728]: #0 /usr/share/openmediavault/engined/rpc/exec.inc(104): OMV\Rpc\TraceException->__construct('Failed to execu...', 0, 'OMV\\ExecExcepti...')
Sep 30 15:36:06 hades omv-engined[51728]: #1 [internal function]: Engined\Rpc\Exec->getOutput(Array, Array)
Sep 30 15:36:06 hades omv-engined[51728]: #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
Sep 30 15:36:06 hades omv-engined[51728]: #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getOutput', Array, Array)
Sep 30 15:36:06 hades omv-engined[51728]: #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Exec', 'getOutput', Array, Array, 1)
Sep 30 15:36:06 hades omv-engined[51728]: #5 {main}
Sep 30 15:36:06 hades omv-engined[51728]: thrown in /usr/share/php/openmediavault/rpc/traceexception.inc on line 43
Firewall rules:
Code
start
ip6tables -t filter -F INPUT
ip6tables -t filter -F OUTPUT
ip6tables -A INPUT -p all -j REJECT
ip6tables -A OUTPUT -p all -j REJECT
iptables -t filter -F INPUT
iptables -t filter -F OUTPUT
iptables -A INPUT -p all -j ACCEPT -m conntrack --ctstate ESTABLISHED,RELATED
iptables -A INPUT -p all -j ACCEPT -i lo
iptables -A INPUT -p icmp --source 192.168.88.0/24 --destination 192.168.88.24 -j ACCEPT
iptables -A INPUT -p tcp --destination 192.168.88.24 --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --source 192.168.88.0/24 --destination 192.168.88.0/24 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --destination 192.168.88.0/24 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --destination 192.168.88.24 --dport 10000 -j ACCEPT
iptables -A INPUT -p all -j REJECT
iptables -A OUTPUT -p all -j ACCEPT -m conntrack --ctstate ESTABLISHED,RELATED
iptables -A OUTPUT -p all -j ACCEPT -o lo
iptables -A OUTPUT -p icmp -j ACCEPT
iptables -A OUTPUT -p all --destination 192.168.0.0/24 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 53 -j ACCEPT
iptables -A OUTPUT -p udp --sport 53 -j ACCEPT
iptables -A OUTPUT -p udp --dport 67 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 80 -j ACCEPT
iptables -A OUTPUT -p udp --sport 123 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT
iptables -A OUTPUT -p all -j REJECT
stop
iptables -t filter -F INPUT
iptables -t filter -F OUTPUT
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
ip6tables -t filter -F INPUT
ip6tables -t filter -F OUTPUT
ip6tables -P INPUT ACCEPT
ip6tables -P OUTPUT ACCEPT
Alles anzeigen