Skip to content

Instantly share code, notes, and snippets.

View jbpadgett's full-sized avatar

Jeffery Padgett jbpadgett

  • Texas, USA
View GitHub Profile
<INTERNET> <INTERNET>
| |
| |
corp proxy direct internet
| |
| |
---------------------
####################
# Wget with Proxy
####################
sudo vi /etc/wgetrc
# Proxy with VirtualBox VM
https_proxy = http://10.0.2.2:3128
http_proxy = http://10.0.2.2:3128
#Ubuntu Apt proxy setup
#Create (as sudo or root) the /etc/apt/apt.conf file to make use of cntlm proxy from VirtualBox Linux VM using NAT
Acquire::http::Proxy "http://10.0.2.2:3128";
Acquire::ftp::Proxy "http://10.0.2.2:3128";
#CentOS yum proxy setup
#Edit (as sudo or root) the /etc/yum.conf or /etc/dnf/dnf.conf file to make use of cntlm proxy from VirtualBox Linux VM using NAT
proxy=http://10.0.2.2:3128
#################
# .BASH_PROFILE
# On a Windows machine using Cygwin, use this:
# PROXIES
export http_proxy="localhost:3128"
#
# Recommended minimum configuration:
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
#
# Cntlm Authentication Proxy Configuration
#
# NOTE: all values are parsed literally, do NOT escape spaces,
# do not quote. Use 0600 perms if you use plaintext password.
#
# NOTE: Use plaintext password only at your own risk
# Use hashes instead. You can use a "cntlm -M" and "cntlm -H"
# command sequence to get the right config for your environment.

Keybase proof

I hereby claim:

  • I am jbpadgett on github.
  • I am jbpadgett (https://keybase.io/jbpadgett) on keybase.
  • I have a public key ASBzq2n-EVjn-0pfkGKAF85LZ7IKI52kYIjHvs_bHgyx9Qo

To claim this, I am signing this object:

@jbpadgett
jbpadgett / .tmux.conf
Created November 26, 2012 23:12
TMUX Config File
#########################################################################
#########################################################################
# JBPadgett's custom tmux configuration
# Borrowed heavily from various nice people on the internets
# Put everything global here: ~/.tmux.conf
# Put environment specific tmux config here: ~/.tmux/<purposename>
# Example: ~/.tmux/chef
#########################################################################
#########################################################################