Random Tor ports with privoxy and dnscrypt-proxy

Forum Forums General Tips and Tricks Random Tor ports with privoxy and dnscrypt-proxy

  • This topic has 2 replies, 1 voice, and was last updated Jan 17-9:37 pm by to-the-moon.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16645
    Member
    to-the-moon

      i made this script in attached to random your ports by modifiying the configs then replacing them give it a try 🙂 🙂 i speent some time on this please share

      #!/bin/bash
      #port-genv2

      #THIS IS port-gen-start

      ###MAKE SURE THE port-gen FOLDER IS LOCATED IN /etc/
      ###SHOULD BE LIKE THIS – /etc/port-gen

      ###NOTE THIS SCRIPT USE THE COPY CONFIG LOCATED IN /etc/port-gen/configs/ THEN MODDIFIES THEM AND THEN COPYS THEM TO PROPER DIRECTORY – ALSO MAKES A BACKUP IN BACKUPS FOLDER
      #this script will randomize ports of the configs in /etc/port-gen/configs/EXAMPLE(privoxy)/NAMEOFCONFIG(config) at line 2 so you can freely modify and add lines to the rest of your confgs
      #
      #IF YOU NEED TO CHANE INTERNET ADDRESSES
      #EXAMPLE1
      #forward-socks4 / 127.0.0.1
      #TO
      #forward-socks5 / 127.?.?.?
      #EXAMPLE2
      #127.0.0.1
      #TO
      #127.?.?.?
      #SEE SECTION 1 IN FILE /ETC/PORT-GEN/PORT-GEN FILE ASSUMING THIS IS THE DEFAULT LOCATION

      ##################### START GENERATING CONFIGS ######################
      /etc/port-gen/port-gen
      #####################################################################
      sleep 1
      ############### COPY FINAL MODIFIED CONFIGS TO PROPER DIRECTORY ##############################################################################################
      #######UNCOMMENT ALL BELOW TO START USING ##NOTE: THIS FILE MUST BE STARTED AT BOOT
      #######BY COPYING port-gen-init to /etc/init.d/ after file there just- sudo update-rc.d -f port-gen-init defaults

      #config1-tor
      #cp /etc/port-gen/DONE/tor/torrc /etc/tor/torrc

      #config2-privoxy
      #cp /etc/port-gen/DONE/privoxy/config /etc/privoxy/config

      #config3-dnscrypt-proxy
      #cp /etc/port-gen/DONE/dnscrypt-proxy/dnscrypt-proxy.toml /etc/dnscrypt-proxy-linux_x86_64-2.0.19/linux-x86_64/dnscrypt-proxy.toml

      exit 0

      • This topic was modified 4 years, 3 months ago by to-the-moon.
      • This topic was modified 4 years, 3 months ago by to-the-moon.
      Attachments:
      #16646
      Member
      to-the-moon
        Helpful
        Up
        0
        ::

        File

        Attachments:
        #16649
        Member
        to-the-moon
          Helpful
          Up
          0
          ::
          • This reply was modified 4 years, 3 months ago by to-the-moon.
        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.