• Report Links
    We do not store any files or images on our server. XenPaste only index and link to content provided by other non-affiliated sites. If your copyrighted material has been posted on XenPaste or if hyperlinks to your copyrighted material are returned through our search engine and you want this material removed, you must contact the owners of such sites where the files and images are stored.

XMAN

Active member
Joined
Jul 12, 2021
Messages
19,642
Reaction score
86
Points
38
- Convert IP Address to Hex Format

Ex: 127.0.0.1


7f.00.00.01 (0x7f000001)


Replace string : "|7d 00 00 01|"

www.browserling.com

IP to Hex Converter - Convert IP to Hexadecimal - Online - Browserling Web Developer Tools

Useful, free online tool that converts an IP address to hex. No ads, nonsense, or garbage, just a hex IP converter. Press a button – get the result.
www.browserling.com
www.browserling.com


Add the following rule to "Filter" Table:

Code:

-I INPUT -p tcp -m tcp --dport 443 -m string --hex-string "|7d 00 00 01|" --algo kmp --to 65535 -m string --string "/" --algo bm --to 65535 -j DROP

Code:

service iptables restart

Note: Websites hosted on this IP will keep working, but anyone who tries to access IP directly will be blocked !!

Continue reading...
 
  • Tags
    block direct ip access to https download iptables iptables block direct ip access to https security via iptables
  • Top