LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Proxy issues (https://www.linuxquestions.org/questions/linux-server-73/proxy-issues-4175735397/)

1s440 03-28-2024 04:16 AM

Proxy issues
 
Hi all,

I wanted to connect to "https://10.0.0.100" on firefox, so I have set export no_proxy as below on server and when I try to access the url i have the below error message. But I can always ping this IP. How can i access the url with no proxy. I am using Rocky linux server.I can connect to the url if i change the network settings to use no proxy on firefox.
Code:

export no_proxy="10.0.*"
504 Gateway Timeout: remote server did not respond to the proxy

when I try wget to the url, i have the below.

Proxy tunneling failed: Gateway TimeoutUnable to establish SSL connection.

pan64 03-28-2024 05:52 AM

you can use wget --no-proxy .... too.

lvm_ 03-28-2024 06:17 AM

Actually no_proxy variable is an issue on linux because there are no standard rules for its specification and various tools treat it differently. Here is an attempt to categorise this mess: https://about.gitlab.com/blog/2021/0...talk-no-proxy/ But one thing is certain: wildcards are not supported, so that 10.0.* won't work, you'll have to specify a comma-separated list of individual addresses. Yes, all 65536 of them, if you want a /16 subnet. No other way. Firefox however has a setting in its GUI setup which allows one to specify proper /nn subnets.

jefro 03-28-2024 03:52 PM

I'd make a proxy.pac file??

1s440 03-29-2024 02:50 AM

Quote:

Originally Posted by lvm_ (Post 6492488)
Actually no_proxy variable is an issue on linux because there are no standard rules for its specification and various tools treat it differently. Here is an attempt to categorise this mess: https://about.gitlab.com/blog/2021/0...talk-no-proxy/ But one thing is certain: wildcards are not supported, so that 10.0.* won't work, you'll have to specify a comma-separated list of individual addresses. Yes, all 65536 of them, if you want a /16 subnet. No other way. Firefox however has a setting in its GUI setup which allows one to specify proper /nn subnets.

Ok so there is no way to use 10.0.*


All times are GMT -5. The time now is 01:13 PM.