Cant open port 8080 for incoming web services.

SpaceCowBoy

Member
Feb 13, 2016
51
0
11
38
Hello I have the following for a LXC container
Code:
root@proxmox:/etc/pve/firewall# cat 225.fw
[OPTIONS]

log_level_in: debug
log_level_out: debug
policy_out: DROP
enable: 1

[RULES]

OUT ACCEPT -p tcp -dport 8080 -sport 8080
IN ACCEPT -p tcp -dport 8080 -sport 8080

When I enable the firewall I am unable to connect to port 8080
when I turn off the firewall on the network interface I am able to connect just fine.
What am I doing wrong here?
Thanks!


EDIT:
never mind just had to remove -sport 8080
You can delete this thread if you like.
 
Last edited: