1. Welcome to NoFap! We have disabled new forum accounts from being registered for the time being. In the meantime, you can join our weekly accountability groups.
    Dismiss Notice

How to block porn sites???

Discussion in 'Porn Addiction' started by Feelslikezoom23, Sep 1, 2019.

  1. Feelslikezoom23

    Feelslikezoom23 Fapstronaut

    106
    67
    28
    Hi Everyone,

    I have a MacBook Pro
    I have an iPad 6
    I have a Microsoft surface pro 2
    I have an iPhone 6s plus

    How the F do I block porn sites without giving me access to passwords permanently?

    I'm so sick of relapsing and I think this is the drastic measure I need to take !!
     
    Charles Dera likes this.
  2. Haddock

    Haddock Fapstronaut

    291
    494
    63
    Short answer

    You should not rely on a blocker. If you want to watch P, your crazy mind will find a way. You need to learn self control.

    Long answer

    Although what I just said is true, it is a good idea to limit the chance to end up on a P site. The idea idea is not only to make it more difficult for you to access those websites, but also to prevent you from watching it by clicking a link by accident...

    First, you should use an adblocker since many ads with sexual content can make you relapse. I won't explain how to do it. Just google it if you don't know but it's easy.

    A method that works will but requires some skills

    The method that works everywhere is to block it in the hosts file. I will explain how but it may be a bit complex. There may exists easier solution but I never tested it and I don't know if they work well.

    So, basically, any device that connect to internet has a text file call "hosts" file. It contains a list of website -> IP address. For instance :

    nofap.com -> 104.25.28.111

    This is important since your computer does not understand "nofap.com" but it does understand sequence of numbers. So the idea is to put this in your file :

    website-you-should-not-visit.com -> 127.0.0.1 (dummy address)

    Then, whenever you want to go to website-you-should-not-visit.com, your computer will go to this dummy address : 127.0.0.1 (This is actually the address of your computer itself so nothing will happen. It basically blocks the P site. Obviously you can put any IP address you want).

    Of course you won't do this manually for every P site. So you need a list of P sites. Above is the list I use. It is the most complete I managed to find but it may not block everything. Hopefully, the main websites you used should be blocked.


    A wider selection of lists including other king of violent content can be found here :


    Then you put the content of those list to your host file with the dummy IP address. Of course you need some skills to do this but it will work the same on every device. I provide in attachment a small bash script that works on Linux. It may works on a Mac (I didn't test it). To run it, you need to be administration. On Linux you just do

    Code:
    sudo ./antiporn.txt
    Just for you to know : you should not trust me as I am asking you to run an admin command. You should look inside the script before (it's only about 10 harmless lines). Unfortunately, to block the P sites in a efficient manner on your computer you need to be admin.

    Sorry for this complex answer. I hope it will help those we know computers well. I should code a proper software to do this on every platform but the problem is I cannot really test if it works since I don't want to end up on a P site... If someone with a 500+ day counter wants to help me he is more than welcome !
     

    Attached Files:

    Vendettana and Feelslikezoom23 like this.
  3. Viriliter Agite

    Viriliter Agite Fapstronaut

    5
    9
    3
    Hi, I’m relatively new to this site, but not to the struggle against porn, so I thought I’d chime in with some comments.

    There are a variety of really good tools you can use to block porn on your devices.


    However, as Haddock said, you will always be able to circumvent these restrictions in some manner. I've found in my personal journey that it's best to think of these restrictions as "buffers" -- they stop your tendency to make quick searches for porn and make it more difficult to go to favorite sites, but they do not and cannot stop everything. I highly recommend having a detailed plan and procedure in place in addition to any blocking tools you use, or else you may find them disappointing.


    The best blocking tools are ones that force desire for porn to work against your normal laziness. If getting to porn is complicated, difficult, and frustrating, you are less likely to go through with it and have more chances to back up and escape (Which means you need to have a good escape plan! If you are tempted, what are you going to immediately do to prevent yourself from attempting to bypass your restrictions?


    1) Editing your Hosts File to block websites (for Windows Users)


    For this to work well, your user account and your admin account should be separate. (As they should be normally, for safety reasons).

    1. Log in to your admin account, and search for notepad in the search bar.

    2. Right click on notepad and click, run as administrator. When prompted, click yes to confirm. Notepad should open to a blank note.

    3. When notepad pulls up, click File -> Open (or just Ctrl + o )

    4. The file you are looking for is called “hosts” and is located down the following: path Local Disk (C:) -> Windows -> System32 -> Drivers -> etc

    5. The hosts file will probably not be viewable. To make it viewable, change the type at the bottom right corner from “Text Documents” to “All Files”.

    6. You should see two files named hosts. Under “type” (right next to “date modified”) it should say “File”. This should be the one you want. DO NOT click on the one that says “hosts.ics” and says it’s an “iCalendar file”. If the file says “hosts” but is a text file, that’s also wrong.

    7. Once you are in the hosts file, you should see something like this:


    # Copyright (c) 1993-2009 Microsoft Corp.

    #

    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

    #

    # This file contains the mappings of IP addresses to host names. Each

    # entry should be kept on an individual line. The IP address should

    # be placed in the first column followed by the corresponding host name.

    # The IP address and the host name should be separated by at least one

    # space.

    #

    # Additionally, comments (such as these) may be inserted on individual

    # lines or following the machine name denoted by a '#' symbol.

    #

    # For example:

    #

    # 102.54.94.97 rhino.acme.com # source server

    # 38.25.63.10 x.acme.com # x client host


    # localhost name resolution is handled within DNS itself.

    # 127.0.0.1 localhost

    # ::1 localhost


    Note: You may or may not see some lines without the “#”. They will have an ip address followed by a website name. DO NOT mess with any of these. They have likely been put there by your computer or a program on your computer and are needed. You don’t want to mess anything up, so just ignore them!


    8. Scroll down to the end of the file and start on the next line.

    9. To block a site (say, google), simply type 127.0.0.1 followed by a space, followed by the exact site name:

    127.0.0.1 www.google.com


    10. Sometimes, this may not work, particularly for common sites. For example, you can also get to google by typing in “google.com” without the “www” part and your computer will still know what to do. So, for safety, you should also add:

    127.0.0.1 google.com

    127.0.0.1 x.google.com


    Note: The “x” tells the system that you want to block anything that has some other name followed by the name of the main site. This is very important for certain sites that have different addresses for each user. For example, Tumblr has the format “name_of_account.tumblr.com.” If you were to just block “tumblr.com” or even “www.tumblr.com” it would not work, because your system recognizes “name_of_account.tumblr.com” as a different address. But if you type “x.tumblr.com” ALL of the possible tumblr addresses will be blocked and inaccessible.


    11. Before you close, make sure you save the document. Now, whenever your fingers absent-mindedly search for a bad site, your system should not allow it to work, because it’s redirecting to the wrong place.


    Extra tips:

    A. I recommend only using this for sites you know you will never want to access. I used it for a time for blocking sites that were just major distractors and time wasters, but of course, when I wanted to unblock these sites, I would log into my admin and change the hosts file, which would tempt me to undo the block on a bad site. There are better ways to manage time-wasting sites that aren’t as risky.


    B. To make sure you saved properly, DO NOT test the bad site to see if you can still access it. Instead, find a random site you absolutely do not care about that, and block it along with all the sites you are adding. Then, test THAT site. If it’s blocked, you should be fine.


    C. For extra security, make your admin password really hard to type or do not memorize it and keep it somewhere safe where it’s hard to get to. (You could potentially get a safe with a timelock, but just keeping it somewhere where you would have to go through a lot of steps to get it can also help you.)


    D. Alternatively, give the password to someone you trust for safekeeping. (Obviously, never give your password to someone you don’t know, someone online, someone you can’t get into contact with quickly, or any friends who are computer geeks who may pull pranks on you. A spouse, close (non-online) friend, or family member is probably best.)


    E. Double check the spelling! An incorrectly spelled address is useless. Make sure you add all the different possible versions of the site name.



    2) Using dedicated Parental Control software:


    Here is a list of some of the best options: https://www.pcmag.com/roundup/240282/the-best-parental-control-software


    Unfortunately, these usually have an annual or monthly fee you will need to pay. Not great for the penny-pinched, but a good investment for those who can afford it!


    3) Blocking on your Router

    If you have a router with a firewall, there are usually ways to block unwanted websites. Frankly, I don't know a lot about that, so you'll have to do the research on your own. However, it can be very effective at keeping you safe while at home, particularly if unblocking involves a lot of tedious steps.

    4) Covenant Eyes


    One of the best known resources is Covenant Eyes, which blocks many sites and sends your history to your accountability partner. They are a very good choice, in part because they actively combine blocking sites with accountability, tracking, and now machine learning that identifies pornographic content by looking at what’s on your screen. Suspicious images and links are reported to your accountability partner.


    When I used it, the main problems with Covenant Eyes were:

    1. Again, has a fee.

    2. You need a good partner willing to pay attention to what you are doing (you also need to continue to be honest – they can’t catch everything)!

    3. In my experience, it sometimes misses or is completely unaware of niche sites (but you can send them a message asking them to fix this and you can also block them on your own).

    4. It sometimes blocks completely normal sites and causes frustration (but again, you can fix this).

    5. It really didn’t work too well against image searches (probably works much better now because of the image recognition!)


    This really wasn’t a good fit for me, primarily because the setup I was using wasn’t very compatible. However, I definitely recommend looking into it and maybe trying the free trial to see if its for you.


    5) Time-Based Blocking: PluckEye (Recommended!)


    Normal blocking usually uses password based control methods. Which is fine, if someone else has the password – but what if YOU have the password? I’ve constantly found myself bypassing restrictions and undoing the security when I want to act out.


    Instead of using password-based control, PluckEye works on a time limit. You can block any site you want – instantly – but you can only unblock or even uninstall PluckEye after a certain amount of time (set by you) passes.


    Pluckeye also has the advantage of blocking all images on sites unless you add them to a whitelist. This means you won’t be able to use image searches functions on google or bing to bypass normal restrictions. If you need to see the images for some reason, simply add the site to Pluckeye and after your time passes, you will be able to access it as normal.


    I’m actually just trying this out now, so I don’t know how well it works in the long run, but it seems like a really good idea and I’ve been looking for something with this functionality for a while. (Be careful about unblocking a general site like youtube that contains some pron content, I made that mistake and now I'm regretting it. My plan currently is to just unblock individual videos as I need them.)


    6) Block in-Private Browsing on Browsers


    One major source of temptation can be the ability to browse the internet in private.

    Sometimes this is just because in-Private mode is associated with porn, other times, the anonymity in-Private browsing provides can be tempting. Lots of blockers will deactivate this for you, but you can also do it on your own.


    This video explains how it can be done:


    Note: You must be in your admin account for this to work.


    There are other methods available for other browsers, which you should be able to find with a little research.

    7) Mobile Lockdown


    I think most people find smart phones the most difficult to deal with because of how easy it is to hide them and sneak them into bathrooms. My mobile strategy was very direct: I just had someone else block all internet on my phone, all adult content, and then had them keep the password safe for me.


    Frankly, it was a bit difficult to adjust to, but it was so worth it: I don’t think I will ever go back.


    8) Non-software methods


    Frankly, none of these methods will work 100% of the time. I got addicted to porn while I was still a teenager despite the fact that my parents had very strict DNS settings AND NetNanny (Parental Control software) installed. They simply do not and cannot catch everything, mainly because they cannot stop you from using image searches or identify all possible searches that could lead to porn.


    So, unless you intend to cut yourself off from the internet, you will ALWAYS need another method. I personally have experiment with adopting a series of rules that minimize alone time with the computer during college. When I came home in the evening, I would always put my computer away in the closet by the door the moment I entered. The computer was not allowed out except in emergencies and it was NEVER permitted to be in my room. By connecting the act of opening the door with the act of putting away the computer, I was able to make this an automatic habit.


    Make a rule that you can only use your laptop in a public space (kitchen, living room, etc.) and never allow it in your room, where others can’t see you or easily walk in on you. If your frequently alone in your living quarters, try to mitigate that by leaving the house and using a public space (library, coffee shop, etc.) instead.



    Remember: No system will be enough on its own. What you installed, you can uninstall. What you blocked can be unblocked. There are always, always loopholes. Updates will break blockers. You will get new devices and have to worry about protecting those. You can switch your habit to another device.


    Have these methods made life easier for me: they have made the struggle easier, helped me get along far without temptation, and saved my streak time and time again.

    Have they “solved” the problem? No. Though you can see that by my counter. : ).

    They cannot and won’t, because the problem is fundamentally in me. I think you will find, no matter what you do, that you will also always need a community, a plan, and will and discipline to help yourself through in the end. Blockers are tools, not cures.
     
  4. Feelslikezoom23

    Feelslikezoom23 Fapstronaut

    106
    67
    28
    Thank you for all the information.
    I am not really tech savvy.
    But I will try one of these approaches
     
  5. Feelslikezoom23

    Feelslikezoom23 Fapstronaut

    106
    67
    28
    Ok. Thank you so much. I going to look into this
     
    Inactive User likes this.
  6. Feelslikezoom23

    Feelslikezoom23 Fapstronaut

    106
    67
    28
    I totally agree. My door to porn is always open and I am always relapsing
     
    Roady likes this.
  7. Haddock

    Haddock Fapstronaut

    291
    494
    63
    I think this method would be pretty much the same as the hosts file method. It may be more complex to implement though.

    One last thing : if you're not a geek/gifted with computers, it may be a good news since you won't be able to bypass a good protection set up by a friend. So in that case, find a good friend you trust who is good with computers and ask him to set up the protections for up. Once you've blocked P on both your laptop and your smartphone, then you should be pretty safe ;)
     
  8. Kman20

    Kman20 Fapstronaut

    513
    620
    93
    I have blockers on my phone and pc even though I don’t need them anymore. When I made them I had a very trusted friend set the password for me. Do you have someone who can do this for you ?
     
  9. LavaMe

    LavaMe Fapstronaut

    Other suggestions are good. I’d add one. I’d use a DNS service like SafeDNS. This allows you to block access to porn at the router level which applies to all devices. I’d recommend giving the password to your router and DNS service to someone you trust so that you can’t in a moment of weakness turn off the blocking.

    One of the biggest dangers with internet porn is its ubiquitousness and ease of access. If I had to drive to a sleazy store to buy porn I wouldn’t. If you have a porn habit then modern computers, phones and tablets are like an alcoholic living and working in a bar. That is obviously stupid and dangerous.
     
  10. With your mind, that works best.
    How often did I promise myself to no longer go, blocked the pages and deleted my collection only to download everything again a couple of days later (and sometimes freaking out when some of my preferred videos were no longer online, then searching for them desperately, cursing myself how stupid it was to delete everything)
    I read guys that blocked the sites with parental control and throwing away the code, and then paid for a VPN to get around their own security.
    I mean:
    1. you can go on google, search for images, type a keyword, disable the safesearch and find every porn image that is out there. You might have blocked the porn sites, but for sure you will want to block google.
    2. you can just use some other device, or go on a different wifi and your blocking is useless

    Your mind is the most powerful tool you have. Use it for your own good. Good luck.
     
  11. I tried to use K9 (when it was freely downloadable), Cold Turkey, the hosts file (locked with the Avira antivirus, which I made not modifiable with a random password), Open DNS, Kaspersky Safe Kids. Pluckeye, Covenant Eyes and similar are not suitable, because they blocked many sites with non - porn images and videos that I needed.
    Well, when I urged I always managed to uninstall or work around in a few minutes, even looking on Internet for methods to neutralize blocks (and you can find everything with rather simple searches).
    I am still looking for the really unacircumventable block, if it really exsists, as if I wanted to lock up a room and throw away the key.
    Any suggestions about some other effective software?
    I'm an administrator of my computer and I have to be, since my family members don't know a lot about computers and if any problems happen or I have to install or uninstall something I have to be able to intervene on my PC.
    It is true, in the end the blocking software that I installed myself, if I installed them, I can uninstall them, and therefore also will power is needed. But when you are sober, willpower is all there, but when you are strongly urged, you don't reason, you think only that you want porn and you would be willing to do anything, even to ruin your computer in order to reach the desired sites.
    This is why it is important to find, if it exists, an uncircumventable software. Willpower is not always strong. The spirit is willing, but the flesh is weak :(
     
  12. Haddock

    Haddock Fapstronaut

    291
    494
    63
    Unfortunately this is very easy to bypass... But easy to implement :)
     
  13. LavaMe

    LavaMe Fapstronaut

    I get why you say that you have to be. I’m responsible for devices in my house. I need my computer for work. But do you really have to be the administrator? I mean if you really had to choose between a life of being addicted to porn and administering the family computer is administering a computer the right choice?

    Easy for some people. Not everyone is good with technology. I know how to bypass this myself, but I still use this. It makes me have to really deliberately choose to bypass it. It has been very helpful for me to at least slow me down before I go down a bad path. And personally I think if you have kids this is an essential measure to protect them.
     
    Viriliter Agite likes this.
  14. Viriliter Agite

    Viriliter Agite Fapstronaut

    5
    9
    3
    Ok, I can see that for covenant eyes, but that is not actually how pluckeye works. It doesn't block sites automatically, just images and videos (and, importantly, you can tell it to stop doing that). If you want to unblock a site or video, just click "allow" and wait out your timer. If you set it to a reasonable time (30 mins, maybe), you can come back in just half an hour and fix the problem. You can also set it to only allow sites during specific times when you know you are safe (say, noon to 2). Note: You can also tell it to unblock all videos automatically, if you want to, though frankly, unblocking youtube is enough to access maybe 95% of video content I would want to use.

    According to pluckeye, it cannot be uninstalled unless the timer is set to zero (and to reset the timer, you have to wait out the timer), so being admin won't help you, uninstalling will just remove your internet access.

    Also, pluckeye lets you connect with accountability partners and get fast approval for a site, so if you need a video in a pinch, just text them and ask them to approve it and you don't even have to wait out the timer.

    No uncircumventable software exists, though; that's just not possible. Blocking is just a tool, not a magic remedy. You may need to consider alternative tools, like getting away from technology for a little while, or taking up a recovery activity, etc.
     
    Last edited: Sep 3, 2019
    LavaMe likes this.
  15. im’possible

    im’possible Fapstronaut

    I set my family picture as wall paper so I'll think twice.
     
    LavaMe and Vendettana like this.
  16. It often happens that I have to install or uninstall programs or perform other small operations on the computer and if I were not an administrator every time I would be stuck. And this would involve not only me but also my other family members.

    Deliberately choose yes, freely choose no. In those moments you only think that you want to see porn sites and that you have to quickly remove, and no matter how, the various blocks. Of course, this gives you time to think, but time is not much, and often the urge is much more persistent than the time it takes to remove the blocks.

    For social and work reasons I can't give up technology, and besides it would be right to avoid the trouble that technology can bring, without having to do without its advantages: I appreciated your Latin nickname, also because I teach Humanities, and regarding technology I would say "Rosam cape, spinam cave" (a motto of the poet Gabriele D'Annunzio, which means "Take the rose, but beware of thorns").

    Psychologists generally advise strengthening their willpower and resistance in various ways that we have often faced here in the forum, but at the same time they often suggest making the websites we look at when urged inaccessible, or at least make it difficult to use.

    Thank you for your explanation about Pluckeye :)
     
    Last edited by a moderator: Sep 4, 2019
  17. Haddock

    Haddock Fapstronaut

    291
    494
    63
    I completely agree. I don't have any kids yet but when I do, trust me I will do whatever is possible to prevent them from watching P !
     
    LavaMe likes this.
  18. Zayvy

    Zayvy Fapstronaut

    5
    0
    1
    I’m on day 21 I just touched it down there without watching porn but I still pre-cummed is that a relapse??
     
  19. Haddock

    Haddock Fapstronaut

    291
    494
    63
    @Zayvy welcome to NoFap :). However, I think you should start a new thread for your question. There was no point of quoting me ;)
     
  20. BeingTheChange

    BeingTheChange New Fapstronaut

    2
    0
    1
    I have a system in place which seems almost foolproof where I am using adguard on my machine and *** on my mobile to block porn. I am however unable to block p2p clients like DC++ which can be used to download porn as well and would like to do it ASAP while my wits are still about me. I have been relapsing again and again for sometime and I feel it is time I stopped relying on my willpower alone and took some concrete steps. Let me know if anyone knows a way to do so soon.
     

Share This Page