![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
Proxy server setup on linux?
Anyone know of a good tutorial or module to install for setting up a proxy server on a RHEL box. just need something simple for personal use.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
What are you wanting to do?
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
I created a new user registration process that allows new members to retrieve there extended profile information from my competitor if they have an account on that site. harmless (most people copy the info over anyway) but i'm pretty sure my competitor would block my site IP even though the newuser is request thee own info from a public (no login needed) profile. So I figure setup a proxy and it wont be noticeable.
i don't mind share my concept/idea ex: say you have profile on plentyoffish and you join my site instead of writing you description and what your looking for all over again. you type in your username and within a sec its ported over instant profile all u have to do is confirm your acct upload a pic and fill out any unique options and you're done. not building a dating site but just an example. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Junior Achiever
Industry Role:
Join Date: Nov 2004
Location: Walled Garden
Posts: 17,066
|
You can do that with PHP by itself.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
correct. I've written my script in php using simple_html_dom, works perfectly. I added in some proxy coding and tested with a public proxy. Now I just need to setup my own privately controlled proxy IP (server) so I can have complete control over the speed/uptime. any ideas on how to setup a proxy server on RHEL?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
ok found the answer if anyone is interested here's the setup below... I went with option 2
someone told me to do this: Option: 1 Code:
ssh -ND 1234 user@ip Setup your web browser to SOCKS proxy and localhost:1234 Code:
1-apt-get install squid3 2-mv /etc/squid3/squid.conf /etc/squid3/squid.conf.orig 3-nano /etc/squid3/squid.conf and paste following: ######################################## #Recommended minimum configuration: acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost #http_access deny all icp_access deny all htcp_access deny all http_port 3128 hierarchy_stoplist cgi-bin ? access_log /var/log/squid3/access.log squid refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern (cgi-bin|\?) 0 0% 0 refresh_pattern . 0 20% 4320 auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/squid_passwd auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours acl ncsaauth proxy_auth REQUIRED http_access allow ncsaauth forwarded_for off ########### #IMPORTANT #change 12.34.56.71 and write down your server ip address below ############ # To use different ips attached to server also change ips below ############ acl ip1 myip 12.34.56.71 tcp_outgoing_address 12.34.56.71 ip1 acl ip2 myip 12.34.56.72 tcp_outgoing_address 12.34.56.72 ip2 acl ip3 myip 12.34.56.72 tcp_outgoing_address 12.34.56.73 ip3 acl ip4 myip 12.34.56.73 tcp_outgoing_address 12.34.56.74 ip4 acl ip5 myip 12.34.56.74 tcp_outgoing_address 12.34.56.75 ip5 acl ip5 myip 12.34.56.75 request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Type allow all request_header_access Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since allow all request_header_access Last-Modified allow all request_header_access Location allow all request_header_access Pragma allow all request_header_access Accept allow all request_header_access Accept-Charset allow all request_header_access Accept-Encoding allow all request_header_access Accept-Language allow all request_header_access Content-Language allow all request_header_access Mime-Version allow all request_header_access Retry-After allow all request_header_access Title allow all request_header_access Connection allow all request_header_access Proxy-Connection allow all request_header_access User-Agent allow all request_header_access Cookie allow all request_header_access All deny all ############ save and done (ctrl+x ,y) 4- touch /etc/squid3/squid_passwd 5- htpasswd /etc/squid3/squid_passwd yourproxyusername and enter your password 6- service squid3 restart All Done! your proxy port is 3128 NOTE: you can use Proxy Selector add-on for Firefox fo quick proxy changing. https://addons.mozilla.org/en-US/firefox/addon/proxy-selector/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Baltimore
Posts: 2,834
|
Proxies are easy with below 10 ips
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |