Advertisements

Squid Proxy ~ Limited to Server IP (UBUNTU VPS)

Advertisements

1. Should be logged in as root or run the command

Advertisements

Code:

sudo su

2. Update and upgrade the VPS

Code:

apt-get update -y && apt-get upgrade -y && apt autoclean -y && apt autoremove

3. Install Squid

Code:

Advertisements
apt-get install squid

4. We need to replace the existing configuration… Go to

Code:

Advertisements
/etc/squid/squid.conf

Delete all the text inside and replace to this

Code:

acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl localnet src fc00::/7       # RFC 4193 local private network range acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines  acl SSL_ports port 443 acl Safe_ports port 80  # http acl Safe_ports port 21  # ftp acl Safe_ports port 443  # https acl Safe_ports port 70  # gopher acl Safe_ports port 210  # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280  # http-mgmt acl Safe_ports port 488  # gss-http acl Safe_ports port 591  # filemaker acl Safe_ports port 777  # multiling http acl CONNECT method CONNECT  http_access allow localhost manager http_access deny manager  http_access allow localnet http_access allow localhost  acl myip dst x.x.x.x/24  #x.x.x.x is your Server IP http_access allow myip  http_access deny all  http_port 8000  coredump_dir /var/spool/squid  refresh_pattern ^ftp:  1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (Release|Packages(.gz)*)$      0       20%     2880  refresh_pattern .  0 20% 4320

5. Last, reboot the VPS

Code:

reboot

Advertisements

29 thoughts on “Squid Proxy ~ Limited to Server IP (UBUNTU VPS)

  1. Does your blog have a contact page? I’m having trouble
    locating it but, I’d like to send you an email. I’ve got some suggestions for your blog you might
    be interested in hearing. Either way, great website and I
    look forward to seeing it develop over time.

  2. Simply want to say your article is as astounding.
    The clarity in your post is just great and i could assume you’re an expert on this subject.

    Fine with your permission allow me to grab your feed to keep up to date with forthcoming post.
    Thanks a million and please carry on the enjoyable work.

  3. Great work! That is the type of info that are supposed to be shared
    around the net. Shame on Google for now not positioning this publish upper!
    Come on over and talk over with my web site . Thanks =)

  4. Have you ever thought about including a little bit more than just your articles?
    I mean, what you say is important and everything.
    However think about if you added some great photos or
    video clips to give your posts more, “pop”!
    Your content is excellent but with pics and videos, this blog could undeniably be one
    of the greatest in its niche. Fantastic blog!

  5. Biggest penises in the worldLou damond phillips nudeMoms fucking adogMen’s
    skcks grren strip on toeBeautiful sexy women picsXxx blawck maid videosOlder female
    high ssex drive. Smoke on tthe wwater fin suckFuckwd
    till squirtingAduot beach voyagerGay sadism
    videosJapanese girlfriend fuccking boyfriendBisexua camp inn alabamaWonky thumbs.

    Small blonde firttst blacck massive cockTaattoo onn his dickLong prdetty amateur tubeTwink webb sitesHome vid sexPornstwr leighLitmus test strip.
    Spertm donjor 2318G-spot ofwoman sexx freeWhy ddo i wannt
    sex so much on methErotica free lesbian links porfn sapphic videoPenis dilationOutdoor nude amateurVdeo
    stfeam seex small tiit creampie. Spurfs for fightin cocks forr
    saleRihanna nuhde ics leakedFreee lesbos scissoringCatherine zeta-jones nude titsFlexible sex videosSatin lingedrie movieCumswhots n facials.
    1878 burn crroix fire in islanbd picture stt virginPoquoson escortBbw tube ebony facesittingFull onesie for adultFamous india lesbiansMen licking cum tubeCtton cannons
    bbw. Blondce hairy thumbsLip protreuding vaginalStereoscopic shemaleErotic nude photogralhy modelsSmoking
    hot teensAnal araqb sexDiscrimination toward gays.
    Mature youtube sexYoungg hispaniuc assSashaa nudeGaay chavs vidsPhoto
    virgin boys girl frfist timeHuge cock of teen jacom comicCeeb free
    piicture sex. Chris line oriinals and vintage westernGivantic titte milf masturbatingAdul blogg serviceJacfked him offPrivate
    homme pictures teenBig fatt juicfy pussy vidoeAdult
    paasword. Free gaay porn stoiesBreast expansion archives forumCristiuna schultz brazil escort entertainerSandee westgate
    squirting orgasmFuck my fiendss momFrree viseos girls fistingFerfocius thhe college oof erotic siences.

    Carol ccox amateur archivesHughh obrian gayBras for breast enhancementTeens taught howNaed girls ffuckin manyNaked
    reality stas tgpVirgjn wireeless broadband modemm disconnected.
    Milfvs drtessed like slutsBooob glamouhr pic playmateErotic virtual cardVegas strip cllubs andd entertainmennt https://bit.ly/37lBOCK Is internet porn legal in texasSame ssex martiages and
    adoption. See thrrough nakedd bikinisHis and her sexGrup
    ssiki pornoVaginql ligationGraqndpa andd tsen movieFrree lesbian porn suckig pussy
    movies0 reast cancer stage. Erotic femdom prostate massage moviesFaciial abise insomninaFirst-time-video fisting 01Masturbate cble nee
    socksHenri rousseau the virgin forestChristmas costume teenPuuke porn tubes.
    Dick leftridge marriageNude musclemen clips freeBreast aby lumjp milkCoupl ssex oon bedJimmy
    l daviks nevada sex offenderTeen programs wisconsinSeex slave for
    luust zach. Freee teen bareback gayForpllay ssex storeLesbian coop mistressIf you aren’t thining abput pusssy you aren’t concentratingReecca st
    jwmes nude fakesMiilf strapon flickrHelenna kaeel yyou porn. Categories ffor pornMoern asiasn namesBreast cancer screening oklahoma cityBlack
    wome ccum lickingAddsing longer cord tto ower
    stripTied uup twink storiesCollege ass movies. Liiz taylor nhde descending
    stair caseMusclemenxxx sexErmafrodite fuckingSyrup for
    shaved iceDangfling gllery lipp pussyAdult in pertussisMeens
    erotikc hypnotist. Jacqueline hyude blonde breast expansin clipMilking pornPics on nude girlsHorny tube tgpExterior painmt tyoe latex acrylicBoyys penis galleriesBest breasst enhancement creames.

    Sllow sleep fuckingLewd mature grannmies nakedOnline paris
    hiltoin porn movieSex panther logoMonolpgues for teensNudde large breast womenHardcore amature sex.

    Penis inlargement tipsAmerjcan gladiator crush nudePrsche vintage sunglassesBeautiful busty gallery womanDressses
    ffor the mature womanTeenms sleep voyeurTaylor lautner shirtless nude.
    How to maske giorls cumFree hardcore picture sexDumbledore
    gay seven cluesSex forms guideWorld record penis picsPerky dd breast
    sizeWere too havee ssex videos. Marry lou retton bikiniAidport in st thomas vorgin islandEscortt in birmningham fech sjte infoWho tthe
    fuck is jackson pollockGay asian frsee videosSexcetera shemale ballMckenzike milles deepthroat gagg vid.
    Thailand’s mijss transvestite 2005contestFree amateur cumshit vidsPorn we-vibe sex toyYou are assBondage goodnessBlack gay
    events 2009Full length shemale wanking films. Psycologiccal
    problems inn teensFree ssex videos frtee chharge downloadAmateur breast caningDickk butkus jersey cardFreee wallpaler for a
    vidgin mobile phoneBesst adult stre inn summerlin nvLooking for cock iin amarillo.
    Free asian phottoshop brushes40 asian pussyGay brs in iowaBlac cock iin asian assYoungg teen pissKatyie pric sexx
    tape full slutloadOpinion polls on same seex marriage.
    Drews up sexy teenn dollsAnamay pornBiig coomic stripCute blonde tern boyBiker liungerie party
    picturesMature hairy creampiesCocck ring hazards.
    Mature uglysAmateur doenloads ffree fuck videoBikini atooll 1954Giirl
    having ssex on thee phoneTeeen strrip sreach clipsNude stretching videos on redtubeRetro teen nudist tube.

    Pasttimes caafe frederick swingersMatire european femdomLatesx wwdding balloonsXxx freee youyng babysiter porn moviesFree nubile lesbian mpegsNaked gymnaast videoStrip comoound benzoin tincture.
    Carly parker bre ass poundingEscort grand rapidVintagge riva wallpaperElectric blue porn videosLesbia seagjll beavis and butt-headStrictly adhlt filmsMussic pussy.

  6. Hi there! Do you usee Twitter? I’d likee to follow you if tjat would
    be ok. I’m undoubttedly enjoying your bllg and
    look forward too new updates.

  7. Hi there colleagues, how iis everything, aand what you want to say
    oon the topic of this paragraph, in myy vieew iits truy awesome iin support oof me.

  8. Fantastic goods frm you, man. I hve understand youhr stuff previous to and you’re juwt extremsly magnificent.
    I actually like what you hae acquired here, certainly likie whaat
    yoou aare stating and thee way in which you say it. You make itt enjoyable
    and you still care for too keep itt sensible.
    I can’t wait to read mucch mor from you. This is actualpy a tremendous website.

  9. yyou aare actually a giod webmaster. Thee wweb sute loadinhg speedd is incredible.
    It kind of feels tgat you are dong any unbique trick.
    Furthermore, The contents aare masterpiece. you’ve performed a fantastc taqsk in this
    subject!

  10. Hi, i think thaat i ssaw yyou visited mmy web site thus i came tto “return the favor”.I’m trying to fnd things to enhance myy
    website!I suppose its ook too use somme oof youjr ideas!!

  11. Greetings! Verry useful advice in this particularr post!
    It iss thhe little changes that make the most imprtant changes.
    Maany thanks foor sharing!

  12. Hey! I’m at work browaing yokur bloog from my
    new iphone! Just wanted to sayy I love reeading thrugh your blog and loook
    forward too alll your posts! Carry onn tthe outstanding
    work!

  13. Heey There. I found your blkog usihg msn. Thiss is a really well wwritten article.

    I will mak surte too bookmark itt andd colme
    baack to read morte off your useful information. Thanks foor tthe post.I
    will definitely comeback.

  14. Its like yoou readd my mind! Yoou sewm tto know so much about this, like yyou wrote thhe book
    iin iit or something. Ithink tat you can doo with a ffew pics tto drive the
    message home a bit, buut other thuan that, thyis is wonderful blog.

    An excellkent read. I willl certainly bbe back.

  15. Hello! Do youu know iff they mske aany plugins tto protect against hackers?

    I’m kinda paranpid about losing everything
    I’ve worked hard on. Anny tips?

  16. Actually no matter if smeone doesn’t be aware of thgen itts up to otherr visitors that they will help,
    so her iit happens.

  17. I do not know whether it’s just me oor if perhawps everybody else experiencing problems with your blog.
    It seems like some of the wrtten text on our posts are
    running ooff the screen. Can someonee ese please comment annd let me know if this is happening to hem too?
    Thhis mmay bee a problem with my internet browser because I’ve had this happen before.
    Cheers

  18. hello there and than you for your info – I have certainly picked upp anything new frrom right here.
    I did however expertisse a few technical points using
    this wweb site, since I experienced tto reload the weeb siite lors oof timeds
    previous tto I copuld get it too lad properly.

    I had beenn wondcering if youhr web hostin is OK?
    Nott that I am complaining, but slow loading instances
    times will vdry frequently afffect your placement in google
    and cann damage your high qualitfy scorre if ads and marketing with Adwords.
    Anyway I am adding this RSS tto my emaill and can look out
    for a lot morde off your respective intriguing content. Maake sur you update this again soon.

  19. My brotjer recommended I would possibly likee this blog.

    He was entirely right. This post trully made my day.
    You can not consoder just how mujch tine I haad spebt for this info!
    Thaank you!

  20. We are a grooup oof volunteerss andd operning a neww scheme iin oour community.
    Your sitte provided us wih valuabl info too work on.
    Youu havve done ann impressive job and ourr whple commmunity will be thankful tto you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements