How do I configure Squid Proxy located at a different location to route internet traffic?Fast EC2 micro AMI which can enable graphical remote logon?Squid 2.7.STABLE3-4.1 as a transparent proxy on Ubuntu Server 9.04Accessing Squid Proxy over internetUbuntu 9.10 and Squid 2.7 Transparent Proxy TCP_DENIEDHow do I setup squid to do just reverse proxyVPN client blocked through squid serverSquid2 on Debian 6 - No connection to the proxyTwo transparent gateway using squid return 403Squid Forward Proxy on CloudflareHTTPS Content Filtering without de-crypting traffic using squid?how to allow externall network to use my squid

A curve pass via points at TiKz

Word for being out at night during curfew

How can a Lich look like a human without magic?

Why doesn't Rocket Lab use a solid stage?

Who was this character from the Tomb of Annihilation adventure before they became a monster?

Exclude loop* snap devices from lsblk output?

How could a Lich maintain the appearance of being alive without magic?

On what legal basis did the UK remove the 'European Union' from its passport?

Early arrival in Australia, early hotel check in not available

How are one-time password generators like Google Authenticator different from having two passwords?

Reaction of borax with NaOH

Can 'sudo apt-get remove [write]' destroy my Ubuntu?

Setting the major mode of a new buffer interactively

What's the word for the soldier salute?

What is the best way for a skeleton to impersonate human without using magic?

What happens if a creature that would fight isn't on the battlefield anymore?

How does Howard Stark know this?

What does the expression "right on the tip of my tongue" mean?

Why does the Earth follow an elliptical trajectory rather than a parabolic one?

How to make a language evolve quickly?

How did Thanos not realise this had happened at the end of Endgame?

On studying Computer Science vs. Software Engineering to become a proficient coder

Can the sorting of a list be verified without comparing neighbors?

Does kinetic energy warp spacetime?



How do I configure Squid Proxy located at a different location to route internet traffic?


Fast EC2 micro AMI which can enable graphical remote logon?Squid 2.7.STABLE3-4.1 as a transparent proxy on Ubuntu Server 9.04Accessing Squid Proxy over internetUbuntu 9.10 and Squid 2.7 Transparent Proxy TCP_DENIEDHow do I setup squid to do just reverse proxyVPN client blocked through squid serverSquid2 on Debian 6 - No connection to the proxyTwo transparent gateway using squid return 403Squid Forward Proxy on CloudflareHTTPS Content Filtering without de-crypting traffic using squid?how to allow externall network to use my squid






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have a Linux box (Ubuntu 9.10) at a different location. I installed squid proxy and tried using that IP and port (opened 3128 at that location) in Firefox. I can't get it to work.



My current scenario :



  • The current location ISP's IP is 72.87.54.XX

  • Each machine in the network has the IP range 192.168.0.0/104

In /etc/squid/squid.conf : how would I configure this part in acl :



acl internal_network src 192.168.0.0/104
http_access allow internal_network


Where would I put the actual IP 72.87.54.XX in the squid.conf file to be allowed for internet traffic at the remote location?










share|improve this question

















  • 1





    Define 'doesn't work'. Do you get squid access denied pages or what? If you do a tcpdump on the squid box do you see the incoming requests for port 3128? What do you see in the squid cache/access logs?

    – Zoredache
    Jan 4 '12 at 21:19






  • 1





    BTW You know that Ubuntu 9.10 is no longer supported right? You should seriously consider updating, so you can receive security patches.

    – Zoredache
    Jan 4 '12 at 21:23











  • Yeah, we will have to place an update request for the latest version of Ubuntu. Checked the logs, I see the IP from the remote location where a test machine was used to check Squid. It worked at the remote location but not from my location. I don't get a Squid denied access page either.

    – ThinkCode
    Jan 4 '12 at 22:40











  • 192.168.0.0/104 isn't a valid IPv4 address range as there are only 32 bits in the address (rather than the 104+ implied by your netmask). Is that a typo?

    – Pak
    Aug 9 '17 at 11:48

















0















I have a Linux box (Ubuntu 9.10) at a different location. I installed squid proxy and tried using that IP and port (opened 3128 at that location) in Firefox. I can't get it to work.



My current scenario :



  • The current location ISP's IP is 72.87.54.XX

  • Each machine in the network has the IP range 192.168.0.0/104

In /etc/squid/squid.conf : how would I configure this part in acl :



acl internal_network src 192.168.0.0/104
http_access allow internal_network


Where would I put the actual IP 72.87.54.XX in the squid.conf file to be allowed for internet traffic at the remote location?










share|improve this question

















  • 1





    Define 'doesn't work'. Do you get squid access denied pages or what? If you do a tcpdump on the squid box do you see the incoming requests for port 3128? What do you see in the squid cache/access logs?

    – Zoredache
    Jan 4 '12 at 21:19






  • 1





    BTW You know that Ubuntu 9.10 is no longer supported right? You should seriously consider updating, so you can receive security patches.

    – Zoredache
    Jan 4 '12 at 21:23











  • Yeah, we will have to place an update request for the latest version of Ubuntu. Checked the logs, I see the IP from the remote location where a test machine was used to check Squid. It worked at the remote location but not from my location. I don't get a Squid denied access page either.

    – ThinkCode
    Jan 4 '12 at 22:40











  • 192.168.0.0/104 isn't a valid IPv4 address range as there are only 32 bits in the address (rather than the 104+ implied by your netmask). Is that a typo?

    – Pak
    Aug 9 '17 at 11:48













0












0








0


1






I have a Linux box (Ubuntu 9.10) at a different location. I installed squid proxy and tried using that IP and port (opened 3128 at that location) in Firefox. I can't get it to work.



My current scenario :



  • The current location ISP's IP is 72.87.54.XX

  • Each machine in the network has the IP range 192.168.0.0/104

In /etc/squid/squid.conf : how would I configure this part in acl :



acl internal_network src 192.168.0.0/104
http_access allow internal_network


Where would I put the actual IP 72.87.54.XX in the squid.conf file to be allowed for internet traffic at the remote location?










share|improve this question














I have a Linux box (Ubuntu 9.10) at a different location. I installed squid proxy and tried using that IP and port (opened 3128 at that location) in Firefox. I can't get it to work.



My current scenario :



  • The current location ISP's IP is 72.87.54.XX

  • Each machine in the network has the IP range 192.168.0.0/104

In /etc/squid/squid.conf : how would I configure this part in acl :



acl internal_network src 192.168.0.0/104
http_access allow internal_network


Where would I put the actual IP 72.87.54.XX in the squid.conf file to be allowed for internet traffic at the remote location?







ubuntu proxy squid access-control-list






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 4 '12 at 17:43









ThinkCodeThinkCode

151110




151110







  • 1





    Define 'doesn't work'. Do you get squid access denied pages or what? If you do a tcpdump on the squid box do you see the incoming requests for port 3128? What do you see in the squid cache/access logs?

    – Zoredache
    Jan 4 '12 at 21:19






  • 1





    BTW You know that Ubuntu 9.10 is no longer supported right? You should seriously consider updating, so you can receive security patches.

    – Zoredache
    Jan 4 '12 at 21:23











  • Yeah, we will have to place an update request for the latest version of Ubuntu. Checked the logs, I see the IP from the remote location where a test machine was used to check Squid. It worked at the remote location but not from my location. I don't get a Squid denied access page either.

    – ThinkCode
    Jan 4 '12 at 22:40











  • 192.168.0.0/104 isn't a valid IPv4 address range as there are only 32 bits in the address (rather than the 104+ implied by your netmask). Is that a typo?

    – Pak
    Aug 9 '17 at 11:48












  • 1





    Define 'doesn't work'. Do you get squid access denied pages or what? If you do a tcpdump on the squid box do you see the incoming requests for port 3128? What do you see in the squid cache/access logs?

    – Zoredache
    Jan 4 '12 at 21:19






  • 1





    BTW You know that Ubuntu 9.10 is no longer supported right? You should seriously consider updating, so you can receive security patches.

    – Zoredache
    Jan 4 '12 at 21:23











  • Yeah, we will have to place an update request for the latest version of Ubuntu. Checked the logs, I see the IP from the remote location where a test machine was used to check Squid. It worked at the remote location but not from my location. I don't get a Squid denied access page either.

    – ThinkCode
    Jan 4 '12 at 22:40











  • 192.168.0.0/104 isn't a valid IPv4 address range as there are only 32 bits in the address (rather than the 104+ implied by your netmask). Is that a typo?

    – Pak
    Aug 9 '17 at 11:48







1




1





Define 'doesn't work'. Do you get squid access denied pages or what? If you do a tcpdump on the squid box do you see the incoming requests for port 3128? What do you see in the squid cache/access logs?

– Zoredache
Jan 4 '12 at 21:19





Define 'doesn't work'. Do you get squid access denied pages or what? If you do a tcpdump on the squid box do you see the incoming requests for port 3128? What do you see in the squid cache/access logs?

– Zoredache
Jan 4 '12 at 21:19




1




1





BTW You know that Ubuntu 9.10 is no longer supported right? You should seriously consider updating, so you can receive security patches.

– Zoredache
Jan 4 '12 at 21:23





BTW You know that Ubuntu 9.10 is no longer supported right? You should seriously consider updating, so you can receive security patches.

– Zoredache
Jan 4 '12 at 21:23













Yeah, we will have to place an update request for the latest version of Ubuntu. Checked the logs, I see the IP from the remote location where a test machine was used to check Squid. It worked at the remote location but not from my location. I don't get a Squid denied access page either.

– ThinkCode
Jan 4 '12 at 22:40





Yeah, we will have to place an update request for the latest version of Ubuntu. Checked the logs, I see the IP from the remote location where a test machine was used to check Squid. It worked at the remote location but not from my location. I don't get a Squid denied access page either.

– ThinkCode
Jan 4 '12 at 22:40













192.168.0.0/104 isn't a valid IPv4 address range as there are only 32 bits in the address (rather than the 104+ implied by your netmask). Is that a typo?

– Pak
Aug 9 '17 at 11:48





192.168.0.0/104 isn't a valid IPv4 address range as there are only 32 bits in the address (rather than the 104+ implied by your netmask). Is that a typo?

– Pak
Aug 9 '17 at 11:48










1 Answer
1






active

oldest

votes


















0














You will want an extra couple of lines like this:



acl office_network src 72.87.54.0/104
http_access allow office_network


The name "office_network" is arbitrary and should match whatever makes sense for what the IP addresses are used for.



The /104 is not what I'm used to seeing. This is normally /24 which represents an IPv4 netmask covering the first three octets and leaving the last one free.






share|improve this answer























  • Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

    – Ladadadada
    Jan 4 '12 at 17:52











  • Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

    – ThinkCode
    Jan 4 '12 at 17:54











  • This didn't work either :( I am kinda lost on the config file!

    – ThinkCode
    Jan 4 '12 at 18:06











  • Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

    – Exsisto
    Jan 14 '16 at 9:04











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f346600%2fhow-do-i-configure-squid-proxy-located-at-a-different-location-to-route-internet%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You will want an extra couple of lines like this:



acl office_network src 72.87.54.0/104
http_access allow office_network


The name "office_network" is arbitrary and should match whatever makes sense for what the IP addresses are used for.



The /104 is not what I'm used to seeing. This is normally /24 which represents an IPv4 netmask covering the first three octets and leaving the last one free.






share|improve this answer























  • Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

    – Ladadadada
    Jan 4 '12 at 17:52











  • Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

    – ThinkCode
    Jan 4 '12 at 17:54











  • This didn't work either :( I am kinda lost on the config file!

    – ThinkCode
    Jan 4 '12 at 18:06











  • Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

    – Exsisto
    Jan 14 '16 at 9:04















0














You will want an extra couple of lines like this:



acl office_network src 72.87.54.0/104
http_access allow office_network


The name "office_network" is arbitrary and should match whatever makes sense for what the IP addresses are used for.



The /104 is not what I'm used to seeing. This is normally /24 which represents an IPv4 netmask covering the first three octets and leaving the last one free.






share|improve this answer























  • Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

    – Ladadadada
    Jan 4 '12 at 17:52











  • Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

    – ThinkCode
    Jan 4 '12 at 17:54











  • This didn't work either :( I am kinda lost on the config file!

    – ThinkCode
    Jan 4 '12 at 18:06











  • Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

    – Exsisto
    Jan 14 '16 at 9:04













0












0








0







You will want an extra couple of lines like this:



acl office_network src 72.87.54.0/104
http_access allow office_network


The name "office_network" is arbitrary and should match whatever makes sense for what the IP addresses are used for.



The /104 is not what I'm used to seeing. This is normally /24 which represents an IPv4 netmask covering the first three octets and leaving the last one free.






share|improve this answer













You will want an extra couple of lines like this:



acl office_network src 72.87.54.0/104
http_access allow office_network


The name "office_network" is arbitrary and should match whatever makes sense for what the IP addresses are used for.



The /104 is not what I'm used to seeing. This is normally /24 which represents an IPv4 netmask covering the first three octets and leaving the last one free.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 4 '12 at 17:51









LadadadadaLadadadada

22.1k54881




22.1k54881












  • Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

    – Ladadadada
    Jan 4 '12 at 17:52











  • Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

    – ThinkCode
    Jan 4 '12 at 17:54











  • This didn't work either :( I am kinda lost on the config file!

    – ThinkCode
    Jan 4 '12 at 18:06











  • Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

    – Exsisto
    Jan 14 '16 at 9:04

















  • Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

    – Ladadadada
    Jan 4 '12 at 17:52











  • Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

    – ThinkCode
    Jan 4 '12 at 17:54











  • This didn't work either :( I am kinda lost on the config file!

    – ThinkCode
    Jan 4 '12 at 18:06











  • Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

    – Exsisto
    Jan 14 '16 at 9:04
















Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

– Ladadadada
Jan 4 '12 at 17:52





Actually, on reading your question again, I'm not sure which of the IP addresses is the Squid server and which is your office. Could you clarify?

– Ladadadada
Jan 4 '12 at 17:52













Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

– ThinkCode
Jan 4 '12 at 17:54





Squid server has a different IP like 31.101.xx.xx port 3128 open. My office : Comcast's IP is 72.87.54.xx. I thought 72.87.54.0/104 is supposed to be the range. 24 makes sense. Will try...

– ThinkCode
Jan 4 '12 at 17:54













This didn't work either :( I am kinda lost on the config file!

– ThinkCode
Jan 4 '12 at 18:06





This didn't work either :( I am kinda lost on the config file!

– ThinkCode
Jan 4 '12 at 18:06













Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

– Exsisto
Jan 14 '16 at 9:04





Does your firewall allow inbound connections from 72.87.54.0/24 on port 3128?

– Exsisto
Jan 14 '16 at 9:04

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f346600%2fhow-do-i-configure-squid-proxy-located-at-a-different-location-to-route-internet%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company