FullPageOS icon indicating copy to clipboard operation
FullPageOS copied to clipboard

Fullpageos Proxy settings

Open lukeyboytas1 opened this issue 5 years ago • 12 comments

HI - Any help on how to add proxy server settings?

lukeyboytas1 avatar Feb 09 '20 07:02 lukeyboytas1

If you press ctrl+t on a keyboard/vnc you should get a nornal chromium window where you can access the browser settings and set up a proxy

guysoft avatar Feb 16 '20 08:02 guysoft

That is an awesome start.... Now I get this ( see pic) 20200216_200437

lukeyboytas1 avatar Feb 16 '20 09:02 lukeyboytas1

Oh, seems like when you paste that message in to google you get a commandline argument to do this (source). So it seems you will need to add this argument in the file /home/pi/scripts/start_chromium_browser The command arguments are set is this file and you can change them, including adding that proxy server flag.

guysoft avatar Feb 16 '20 09:02 guysoft

@lukeyboytas1 how about any feedback on the additional advice from @guysoft ?

stappersg avatar May 29 '20 19:05 stappersg

Ill close this issue if there is no reply

guysoft avatar Jun 01 '20 12:06 guysoft

Sorry guys - this is over my head - I dont understand adding arguments?

lukeyboytas1 avatar Jun 01 '20 13:06 lukeyboytas1

@lukeyboytas1 There is a file with a line that writes the command used to start chromium. That command has list of arguments. Here is an article on this in the chromium project. If you edit that file you can change that line to have different settings. As explained in the chromium tab you took a photo on. You need to have basic understanding how to use a raspberrypi to edit a file there. Once you do it should use the proxy from that line that you edit. The path of the file in the filesystem is /home/pi/scripts/start_chromium_browser as I provided above.

guysoft avatar Jun 02 '20 10:06 guysoft

Oh, seems like when you paste that message in to google you get a commandline argument to do this (source). So it seems you will need to add this argument in the file /home/pi/scripts/start_chromium_browser The command arguments are set is this file and you can change them, including adding that proxy server flag.

Yes, adding --proxy-server="protocol://hostname:port" to the many options on chromium in /home/pi/scripts/start_chromium_browser works for me.

stappersg avatar Jul 26 '20 10:07 stappersg

@lukeyboytas1 thanks for raising the question. I'm glad found this issue. and the advice from guysoft.

For is it fine that this issue gets closed. (@lukeyboytas1 you have to power to do so)

stappersg avatar Aug 24 '20 21:08 stappersg

--proxy-server="socks5://127.0.0.1:1080" --proxy-server="http://127.0.0.1:1081"

60999 avatar Feb 20 '21 10:02 60999

in --proxy-server="protocol://hostname:port" could be one of them:

"http", "socks", "socks4", "socks5".

60999 avatar Feb 20 '21 10:02 60999

Proxy could also be defined global in Rasbian, which also helps to run apt updates:

cd /etc/apt/apt.conf.d
sudo touch 10proxy
sudo nano 10proxy
//file=/etc/apt/apt.conf.d/10proxy
Acquire::http::Proxy "http://127.0.0.1:8080";
Acquire::https::Proxy "http://127.0.0.1:8080";

stritti avatar Sep 21 '23 12:09 stritti