Thursday, November 27, 2008

FreeBSD|Ports proxy configuration

Ports proxy configuration?

Vittorio De Martino vdm.fbsd at virgilio.it
Wed May 11 04:20:18 PDT 2005
On Wednesday 11 May 2005 07:59, Xu Qiang wrote:
> Hi, guys:
>
> I want to install some softwares from FreeBSD Ports collection. But without
> configuration of proxy, it can't connect out to fetch the src tar balls,
> and compile/install.
>
> I searched the handbook but didn't find any useful info about setting of
> proxy for Ports.
>
> Any suggestions?

Xu, use the following in /etc/make.conf

FETCH_ENV = HTTP_PROXY=http://user:passwd@proxy.name:80
FETCH_ENV = HTTP_PROXY=http://user:passwd@proxy.name:80

It works for me.
Ciao
Vittorio



==============================================================

FTP-PROXY port for FreeBSD

A port of the OpenBSD ftp-proxy

[Home]


This page provides you with a port of OpenBSD's ftp-proxy(8) program ported to FreeBSD. It was only tested on FreeBSD/i386 6.2 at the time of this writing. It should also work on FreeBSD 5 and 6. FreeBSD versions newer than 7.0 already ship this ftp-proxy, provided here. The versioning is based upon the other OpenBSD related projects, like OpenNTPD or OpenBGPD.

## on an up-to-date ports tree ...
cd /usr/ports/ftp/ftp-proxy
make install clean


=============================================
crayoxide crayoxide is offline
Port Guard
Join Date: May 2008
Posts: 44
Thanked 2 Times in 2 Posts
Default Server updates through a proxy

After I do a clean install of FreeBSD, how can I get the server to talk though a proxy to get the updates it needs?

ie: freebsd-update, ports, et al.
Reply With Quote
Old 09-24-2008, 11:21 PM

cerulean cerulean is offline
New User
Join Date: May 2008
Location: Arizona
Posts: 14
Thanked 0 Times in 0 Posts
Default

Set the environmental variables:

HTTP_PROXY=http://:
FTP_PROXY=http://:
export HTTP_PROXY FTP_PROXY
Reply With Quote
Old 09-24-2008, 11:30 PM
crayoxide crayoxide is offline
Port Guard
Join Date: May 2008
Posts: 44
Thanked 2 Times in 2 Posts
Default

Now for the really stupid question:



If I do a setenv, how will cron know what the proxy is?
Reply With Quote
Old 09-24-2008, 11:40 PM

anomie anomie is offline
Local
Join Date: Apr 2008
Location: Texas
Posts: 401
Thanked 64 Times in 43 Posts
Default

You can set the variables within your crontab.
__________________
Kill your t.v.
Reply With Quote



Proxifier 2.7

Description
"Bypass firewall, tunnel connections through HTTP and SOCKS proxy servers."
BrothersoftEditor/ Proxifier is a program that allows network applications that do not support working through proxy servers to operate through a HTTP or SOCKS proxy server or a chain of proxy servers. There are many network applications that do not support working through proxy servers and thus cannot be used from LAN or with firewalls. These can compromise corporate privacy and lead you to many other restrictions. Proxifier solves all of these problems and gives you the opportunity to work with your favorite software without any restrictions. Besides, it lets you gain extra control over network security and add more power to network functionality.
With Proxifier you can work with any Internet clients (browsers, ftp, ssh, ICQ, IRC, eMule,video/audio, games like World of Warcraf) from network that is separated from Internet by a firewall (only one open port is required). Proxifier will help secure your privacy. Send and receive email through a proxy server or a chain of proxy servers, all email clients are supported (Outlook, Eudora, Netscape and others).
Proxifier allows you to:
+ Run any network applications through proxy server; no special configuration is required for the software.
+ Access the Internet from restricted local area network through a proxy server gateway.
+ Bypass firewall restrictions (connect to restricted ports).
+ Use three types of proxy servers: SOCKS v4, SOCKS v5, and HTTP.
+ Resolve DNS names through a proxy server.
+ "Tunnel" the entire system (force all network connections in the system work through a proxy server).
+ Secure privacy by hiding your IP address.
+ Work through a chain of proxy servers using different protocols.
+ View information on current connections (addresses, rate, data transfer, connection time, etc.) in real-time.
+ View information on bandwidth usage as a colored diagram in real-time.
+ Maintain log files. + Log incoming and outgoing traffic.
+ Get detailed reports on network errors. you can free download Proxifier 2.7 now.



No comments: