Christoph Farnleitner
New Pleskian
Hey
Plesk 17.5.3#55 (multi server setup, hence not upgradable)
I'm (unfortunately) running an odoo server within a docker. The database for this odoo inst is located on a remote host. The setup uses default ports (odoo: 8069, 8071 and 8072; redis: 6379, running in a docker as well on the same server; postgres: 5432, running on a remote host)
Once I enable firewall rules on the server hosting my odoo/redis dockers I am unable to connect to the database.
Firewall rules on the docker-host (order is the same as in the firewall management):
Remote DB Host Incoming [test]: Allow incoming from 192.168.1.14, <external IPv4> on all ports
FTP server passive ports: Allow incoming from all on port 49152-65535/tcp
Odoo *: Allow incoming from all on ports 6379/tcp, 8069/tcp, 8071/tcp, 8072/tcp
~all the other default Plesk incoming firewall rules, that ends with~
System policy for incoming traffic: Deny all other incoming traffic
Remote DB Host Outgoing [test]: Allow Outgoing to 192.168.1.14, <external IPv4> on all ports
System policy for outgoing traffic: Allow all other outgoing traffic
System policy for forwarding of traffic: Deny forwarding of all other traffic
* I doubt that ports 8071 and 8072 are even necessary here
Neither via the external IP of the remote host nor with it's LAN IP (servers are put together into a VLAN by a vSwitch) I am able to establish a connection when the firewall is enabled. The remote hosts firewall (the host where the database is located) allows the connection with and without active firewall rules so the remote host should not make any troubles at this point.
I wonder whether there might be a similar problem like with the passive FTP connections in combination with an active firewall (i.e. How to configure passive ports range for ProFTPd on a server behind a firewall?
Plesk 17.5.3#55 (multi server setup, hence not upgradable)
I'm (unfortunately) running an odoo server within a docker. The database for this odoo inst is located on a remote host. The setup uses default ports (odoo: 8069, 8071 and 8072; redis: 6379, running in a docker as well on the same server; postgres: 5432, running on a remote host)
Once I enable firewall rules on the server hosting my odoo/redis dockers I am unable to connect to the database.
Firewall rules on the docker-host (order is the same as in the firewall management):
Remote DB Host Incoming [test]: Allow incoming from 192.168.1.14, <external IPv4> on all ports
FTP server passive ports: Allow incoming from all on port 49152-65535/tcp
Odoo *: Allow incoming from all on ports 6379/tcp, 8069/tcp, 8071/tcp, 8072/tcp
~all the other default Plesk incoming firewall rules, that ends with~
System policy for incoming traffic: Deny all other incoming traffic
Remote DB Host Outgoing [test]: Allow Outgoing to 192.168.1.14, <external IPv4> on all ports
System policy for outgoing traffic: Allow all other outgoing traffic
System policy for forwarding of traffic: Deny forwarding of all other traffic
* I doubt that ports 8071 and 8072 are even necessary here
Neither via the external IP of the remote host nor with it's LAN IP (servers are put together into a VLAN by a vSwitch) I am able to establish a connection when the firewall is enabled. The remote hosts firewall (the host where the database is located) allows the connection with and without active firewall rules so the remote host should not make any troubles at this point.
I wonder whether there might be a similar problem like with the passive FTP connections in combination with an active firewall (i.e. How to configure passive ports range for ProFTPd on a server behind a firewall?
Last edited: