06-10-2008
You can test SQUID out using the server itself. By default SQUID listens on port 3128 so you can configure your browser on the proxy server to use 127.0.0.1 with port 3128.
To use it as a proxy server for the rest of your network, you will need to modify the conf file to set the ACL to permit only your LAN subnet. The .conf file is well documented.
I would create a DHCP reservation for the proxy server. Your sys admin should be able to help you out. A static IP address would work as well.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi. pardon my noob question id just like to have a quick answer. i am planning to install a jabber webclient and a jabber server in our apache server. my boss said this wouldnt work because squid filters port 5222 connections (jabber). i told him we can simply 'unfilter' the port then but he said... (0 Replies)
Discussion started by: marcpascual
0 Replies
2. IP Networking
I have an architecture as below
<> <>
There is a program in the AIX server which sends SMS to the internet, by sending HTTP request to the SMS processing server.
Like, http://smsserver/mysms=test
However the application does not have an option to specify where the Proxy server... (1 Reply)
Discussion started by: firdousamir
1 Replies
3. IP Networking
hi guys!
We are setting up Squid Server. we want the server to be transparent. But I don't know how will i be able to set the network up. is it possible to set the squid server in the same LAN with the Squid Client and still functions as a transparent server? if so, can anybody help me do it?
... (1 Reply)
Discussion started by: init6_
1 Replies
4. Web Development
Hi,
Previously I was using squid-2.5 accelerated but due to link breaking issue, I have upgraded it to 2.6 but i am unable to configure it with accelerated support. Kindly help me to make it accelerated proxy server.
My 2.6 squid.conf :
##################################################... (0 Replies)
Discussion started by: jagnikam
0 Replies
5. UNIX for Advanced & Expert Users
Hi all,
The scenario is:
http://img834.imageshack.us/img834/7990/1234z.jpg
- With:
+ 192.168.100.0/24 : internet link (simulation)
+ Multiple Websites are hosting in local.
+ Complete DNS configuration.
+ OS: CentOS 5
- Requirements:
Configure Squid Proxy as... (0 Replies)
Discussion started by: kidzer0
0 Replies
6. IP Networking
Can any one direct me to the resources where I can find in-depth instructions on Squid Proxy server and its configuration?
Thanks in advance.:) (1 Reply)
Discussion started by: admin_xor
1 Replies
7. UNIX for Advanced & Expert Users
Hello all,
I am trying to configure squid proxy server for different organizations. These organizations will have different blocked ports, different acls, etc. But, I can use only one proxy server for this purpose. Thinking of making a shell script with iptables and squid.
For an example: a... (1 Reply)
Discussion started by: admin_xor
1 Replies
8. IP Networking
I am using Squid to create a proxy server for framework related to an application. My users sit on a private network in 191.xx.xx.xx space and my proxy sits in a different private network in 188.xx.xx.xx space. There will be a NAT in place to allow bidirectional communications but is there an... (5 Replies)
Discussion started by: BobSpero
5 Replies
9. Linux
Hi All Im using squid Proxy in centos
Squid version = squid.x86_64 7:3.1.10-20.el6_5
CentOS release 6.5 (Final)
Router IP = 192.168.1.1
My proxy System have 2 Ethernet port
eth0
eth1
Using IP address for eth0 = 192.168.1.15/24
using IP address for eth1 = 192.168.1.16/24
Default... (1 Reply)
Discussion started by: babinlonston
1 Replies
10. Shell Programming and Scripting
i need squid proxy log file daily auto generate by shell script (1 Reply)
Discussion started by: sanjeetkumar086
1 Replies
LEARN ABOUT CENTOS
ne_session_socks_proxy
NE_SESSION_PROXY(3) neon API reference NE_SESSION_PROXY(3)
NAME
ne_session_proxy, ne_session_socks_proxy, ne_session_system_proxy, ne_set_addrlist - configure proxy servers
SYNOPSIS
#include <ne_session.h>
void ne_session_proxy(ne_session *session, const char *hostname, unsigned int port);
void ne_session_system_proxy(ne_session *session, unsigned int flags);
void ne_session_socks_proxy(ne_session *session, enum ne_sock_sversion version, const char *hostname, unsigned int port,
const char *username, const char *password);
void ne_set_addrlist(ne_session *session, const ne_inet_addr **addrlist, size_t count);
DESCRIPTION
One (and no more than one) of the functions ne_session_proxy, ne_session_system_proxy, ne_session_socks_proxy, ne_set_addrlist can be used
to configure a proxy server for a given session object. If more than one function is invoked for any given session object, only the last
call has effect. If one of the functions is to be used, it must be used before the creation of any request object for the session.
HTTP proxy specification
The ne_session_proxy function configures use of an HTTP proxy server for the session, the location of which is given by the hostname and
port paramters. If the proxy requires authentication, ne_set_proxy_auth should be used.
System proxy configuration
The ne_session_system_proxy function configures the session to use any proxy servers specified by the system configuration. Support for
this function is platform-specific; if unsupported, the function has no effect.
SOCKS proxy configuration
The ne_session_socks_proxy function configures the session to use a SOCKS proxy. The version indicates which version of the SOCKS protocol
should be used. The hostname and port parameters specify the SOCKS proxy location. Note that a server with only an IPv6 address cannot be
used with SOCKS v4 or v4A. The interpretation of the other arguments depends on the version specified:
NE_SOCK_SOCKSV4 (version 4)
The username parameter must be non-NULL; the password parameter is ignored.
NE_SOCK_SOCKSV4A (version 4A)
The username parameter must be non-NULL; the password parameter is ignored.
NE_SOCK_SOCKSV5 (version 5)
The username parameter may be NULL; if it is non-NULL, the password parameter must also be non-NULL; otherwise, it is ignored..
Origin server address override
The ne_set_addrlist function forces use of an address and port the a specified list when establishing a TCP connection, ignoring the "real"
hostname and port identifying the origin server for the session (as passed to ne_session_create). The origin server's "real" hostname and
port will still be used in the Host header in HTTP requests. When a connection is required, the library will iterate through the addrlist
list, attempting to connect to the address addrlist[0] through to addrlist[count-1] in turn, until a connection can be established.
RETURN VALUES
None of the functions described here has a return value.
EXAMPLES
Create and destroy a session:
ne_session *sess;
sess = ne_session_create("http", "host.example.com", 80);
ne_session_proxy(sess, "proxy.example.com", 3128);
/* ... use sess ... */
ne_session_destroy(sess);
SEE ALSO
ne_ssl_set_verify, ne_ssl_trust_cert, ne_sock_init, ne_set_session_flag
AUTHOR
Joe Orton <neon@lists.manyfish.co.uk>
Author.
COPYRIGHT
neon 0.30.0 31 July 2013 NE_SESSION_PROXY(3)