Howdy,
I am scratching my head a bit here, hoping someone can suggest or help me explain this. I have an Intel mini computer (Beelink) with two interfaces (igc), one facing the Internet provider (igc0 DHCP) and the other my local network (igc1). When both interfaces are up and running, I can SSH with no issues but when the Internet facing interface is down or I have no IP address (ISP issue), I get a rejected connection from the internal IP address when I try to SSH. I can't see any rules on SSH what would block me from connecting but based on the mesaage that I get from SecureCRT, I think this is lower level reject, not SSH (nothing on the SSH logs as well). My ruleset for pf is very basic:
block log all
pass in on $lan from $lan:network to any
pass out on $wan from ($wan) to any
pass in on $lan proto udp from port = 68 to port = 67
pass out on $lan proto icmp from 192.168.1.1 to $lan:network
Any ideas why pf would reject my connection? As I am typing this, I am thinking that I did not check my pglog so I will do it now, while I, hopefully, get some of y'all chime in on theories why this is happening.
Thank you!
I am scratching my head a bit here, hoping someone can suggest or help me explain this. I have an Intel mini computer (Beelink) with two interfaces (igc), one facing the Internet provider (igc0 DHCP) and the other my local network (igc1). When both interfaces are up and running, I can SSH with no issues but when the Internet facing interface is down or I have no IP address (ISP issue), I get a rejected connection from the internal IP address when I try to SSH. I can't see any rules on SSH what would block me from connecting but based on the mesaage that I get from SecureCRT, I think this is lower level reject, not SSH (nothing on the SSH logs as well). My ruleset for pf is very basic:
block log all
pass in on $lan from $lan:network to any
pass out on $wan from ($wan) to any
pass in on $lan proto udp from port = 68 to port = 67
pass out on $lan proto icmp from 192.168.1.1 to $lan:network
Any ideas why pf would reject my connection? As I am typing this, I am thinking that I did not check my pglog so I will do it now, while I, hopefully, get some of y'all chime in on theories why this is happening.
Thank you!