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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!