Simple Port Knock for WHM Web Login?

jazee

Well-Known Member
Jan 12, 2015
102
1
18
cPanel Access Level
Root Administrator
Wondering if there's a way to setup a simple port knock for the WHM Web Interface Login?

Essentially, I'd like to set it up so all connection https attempts on port 2087 are ignored unless you first use a browser to go to https://www.mydomain.com:12087 once, then go to the normal port, 2087 to get in within 1 minute.
 

jazee

Well-Known Member
Jan 12, 2015
102
1
18
cPanel Access Level
Root Administrator
Using csf. I'm wondering if what I described is even possible. Typically port knocking is used for SSH where you know the ports immediate succession.
 

jazee

Well-Known Member
Jan 12, 2015
102
1
18
cPanel Access Level
Root Administrator
The documentation confirms what I was afraid of which is you have to have three ports to knock and you have to use SYN packets can't do this with http requests.