Guest User

Untitled

a guest
Jun 6th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. $ cat /etc/environment
  2. PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
  3. http_proxy="http://192.168.1.250:8080/"
  4. ftp_proxy="ftp://192.168.1.250:8080/"
  5. https_proxy="https://192.168.1.250:8080/"
  6.  
  7. $ env | grep proxy
  8. http_proxy=http://192.168.1.250:8080/
  9. ftp_proxy=ftp://192.168.1.250:8080/
  10. all_proxy=socks://192.168.1.250:8080/
  11. https_proxy=https://192.168.1.250:8080/
  12. no_proxy=localhost,127.0.0.0,127.0.1.1,127.0.1.1,local.home
  13.  
  14. no_proxy=myhost_to_ignore,$no_proxy
  15. export no_proxy
  16.  
  17. $ gconftool --recursive-list /system/http_proxy
  18. use_authentication = false
  19. authentication_password =
  20. authentication_user =
  21. ignore_hosts =[localhost,127.0.0.0/8,127.0.1.1]
  22. use_http_proxy = true
  23. port = 8080
  24. use_same_proxy = true
  25. host = 192.168.1.250
  26.  
  27. gconftool -g /system/http_proxy/ignore_hosts
  28.  
  29. gconftool --type list --list-type string -s /system/http_proxy/ignore_hosts '[localhost,127.0.0.0/8,myhost]'
Add Comment
Please, Sign In to add comment