WANProxy and Squid

Alex Howe alex.howe at wifispark.com
Fri Mar 14 06:10:40 PDT 2014


Hi,

I'm currently attempting to get WANProxy and Squid working together using
basic config.

I have a Squid proxy running on a remote server, this server also has
WANProxy server running with the following config file:

create codec codec0
set codec0.codec XCodec
activate codec0

create interface if0
set if0.family IPv4
set if0.host "127.0.0.1"
set if0.port "3301"
#set if0.proto TCP # (1)
activate if0

create peer peer0
set peer0.family IPv4
set peer0.host "localhost"
set peer0.port "3128" #Squid proxy port
#set peer0.proto TCP # (2)
activate peer0

create proxy proxy0
set proxy0.interface if0
set proxy0.interface_codec codec0 # (3)
set proxy0.peer peer0
set proxy0.peer_codec None # (4)
activate proxy0

My WANProxy client is running on a CentOS server with the following client
config file:

create codec codec0 # (1)
set codec0.codec XCodec #
activate codec0

create interface if0 # (2)
set if0.family IPv4
set if0.host "LOCAL WANProxy CLIENT IP"
set if0.port "3300"
#set if0.proto TCP #
activate if0

create peer peer0 # (3)
set peer0.family IPv4
set peer0.host "REMOTE SERVER IP"
set peer0.port "3301"
#set peer0.proto TCP_POOL
activate peer0

create proxy proxy0 # (4)
set proxy0.interface if0
set proxy0.interface_codec None
set proxy0.peer peer0
set proxy0.peer_codec codec0
activate proxy0

To test I'm setting my browser to use WANProxy CLIENT as a proxy on port
3300 but it's not working.

Should this config work with squid?

Thanks,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20140314/7cb460de/attachment-0001.htm>


More information about the wanproxy mailing list