Communication on port 8006 fails when firewalling

kennethp

New Member
Oct 29, 2012
1
0
1
Hi.

I have activated iptables on the host ip with the following rules:

root@Proxmox-VE-01 ~ # iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:8006
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- <ipaddress1> anywhere
ACCEPT all -- <ipaddress2> anywhere
DROP all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@Proxmox-VE-01 ~ #

However, the communication on port 8006 fails when the firewall is activated. When I am trying to log in, the login fails (the login page are loaded). When I am already logged in, and then activates iptables, the web administration page on port 8006 becomes very "laggy"/will not load properly. Do I need to open more ports and/or specific IP addresses?

Best regards
Kenneth Pedersen