block direct ip access to https with iptables

  1. Marks-Man

    iptables Block Direct IP Access to HTTPS

    - Convert IP Address to Hex Format Ex: 127.0.0.1 7f.00.00.01 (0x7f000001) Replace string : "|7d 00 00 01|" https://www.browserling.com/tools/ip-to-hex Add the following rule to "Filter" Table: -I INPUT -p tcp -m tcp --dport 443 -m string --hex-string "|7d 00 00 01|" --algo kmp --to 65535...
Top