Kufat

inspIRCd VPN blocking unregistered users draft config

Oct 29th, 2022 (edited)
1,465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.48 KB | None | 0 0
  1. <dnsbl name="Abusix exploit"
  2.       domain="00000000000000000000000000000000.exploit.mail.abusix.zone"
  3.       type="record"
  4.       records="4"
  5.       host="vpn.or.open.proxy" # Useful for testing with the 'deny' class disabled
  6.       action="MARK">
  7.  
  8. # [...blah blah...]
  9.  
  10. <connect name="authed VPN"
  11.         dnsbl="Abusix exploit"
  12.         parent="main"
  13.         allow="*"
  14.         registered="yes"
  15.         requireaccount="yes">
  16.  
  17. <connect name="non-authed VPN"
  18.         dnsbl="Abusix exploit"
  19.         deny="*"
  20.         registered="yes"
  21.         requireaccount="no"
  22.         reason="Users connected to VPNs must authenticate to NickServ using SASL in order to connect to this server. See https://example.com for instructions or contact [email protected] for assistance.">
  23.  
  24. <connect
  25.         name="main"
  26.         allow="*"
  27.         maxchans="50"
  28.         # timeout (secs) is during initial connection
  29.         timeout="20"
  30.         pingfreq="2m"
  31.         hardsendq="1M"
  32.         softsendq="10240"
  33.         recvq="10K"
  34.         threshold="20"
  35.         commandrate="1000"
  36.         fakelag="on"
  37.         # localmax: Maximum local connections per IP.
  38.         localmax="10"
  39.         # globalmax: Maximum global (network-wide) connections per IP.
  40.         globalmax="10"
  41.         resolvehostnames="yes"
  42.         useident="no"
  43.         # This setting only has effect when the ircv3_sts module is loaded.
  44.         usests="no"
  45.         limit="9999"
  46.         modes="+ix"
  47.         >
  48.  
Advertisement
Add Comment
Please, Sign In to add comment