WanProxy and Socks

Alex Howe alex.howe at wifispark.com
Tue Feb 18 03:12:39 PST 2014


Hi,

I'd like to check that I have WanProxy and SOCKS set up as intended....

I have a CentOS remote server running SOCKS. The remote server also runs
the WanProxy server.

I have a local CentOS server running WanProxy client.

I have used the config in the example as a test and changed the hosts and
IP Addresses. My SOCKS server is listening on port 9999, does this port
need to be specified in the server.conf file?

To test, I have set my proxy in my browser to LOCAL-CentOS-IP:3300

Right now it's not working. I wanted to ensure my config is correctly
thought out before debugging.

*Here's my client.conf*

create codec codec0
set codec0.codec XCodec
activate codec0

create interface if0
set if0.family IPv4
set if0.host "LOCAL CentOS IP"
set if0.port "3300"
activate if0

create peer peer0
set peer0.family IPv4
set peer0.host "Remote Server Host"
set peer0.port "3301"
activate peer0

create proxy proxy0
set proxy0.interface if0
set proxy0.interface_codec None
set proxy0.peer peer0
set proxy0.peer_codec codec0
activate proxy0

*...and my server.conf*

create codec codec0
set codec0.codec XCodec
activate codec0

create interface if0
set if0.family IPv4
set if0.host "Remote Server Host"
set if0.port "3301"
activate if0

create peer peer0
set peer0.family IPv4
set peer0.host "localhost"
set peer0.port "3302"
activate peer0

create proxy proxy0
set proxy0.interface if0
set proxy0.interface_codec codec0
set proxy0.peer peer0
set proxy0.peer_codec None
activate proxy0

create interface if1
set if1.family IPv4
set if1.host "localhost"
set if1.port "9999"
activate if1

create proxy-socks proxy-socks0
set proxy-socks0.interface if1
activate proxy-socks0

I'd appreciate any pointers.

Thanks in advance.

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


More information about the wanproxy mailing list