iperf test with wanproxy
Iheanyi Obasi
iobasi at hotmail.com
Mon Aug 19 23:48:23 PDT 2013
Hello,
This a great project. However, I have this strange thing that happens with
wanproxy. I can redirect my TCP sessions through it. However, when I
initiate an iperf test, it reaches the other end and then immediately resets
the connection. So all I end up getting for my SYN request is a RST ACK. I
am wondering if there is something wrong with my setup so I'm posting it for
someone to please raise a flag here. My topology looks like this
LAN ---> SOCKS ---> WANPROXY CLIENT ---> WANPROXY SERVER (WITH SOCKS) ---->
INTERNET (IPERF SERVER)
I use the socks proxy to get many TCP ports through the proxy. I would
appreciate information about another way of doing this. So that's the
topology, here are the wanproxy configs
CLIENT SOCKS PROXY
redsocks {
local_ip = 0.0.0.0;
local_port = 5001;
ip = 127.0.0.1;
port = 3300;
}
CLIENT CONFIG
create interface if0
set if0.family IPv4
set if0.host "127.0.0.1"
set if0.port "3300"
activate if0
create peer peer0
set peer0.family IPv4
set peer0.host "4.4.4.4"
set peer0.port "3301"
activate peer0
create proxy proxy0
set proxy0.type TCP-TCP
set proxy0.interface if0
set proxy0.interface_codec None
set proxy0.peer peer0
set proxy0.peer_codec None
activate proxy0
SERVER CONFIG
create interface if0
set if0.family IP
set if0.host "4.4.4.4"
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.type TCP-TCP
set proxy0.interface if0
set proxy0.interface_codec None
set proxy0.peer peer0
set proxy0.peer_codec None
activate proxy0
create interface if2
set if2.family IPv4
set if2.host "localhost"
set if2.port "3302"
activate if2
create proxy-socks proxy-socks0
set proxy-socks0.interface if2
activate proxy-socks0
It feels like overkill to me so suggestions to simplify are welcome. Thank
you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20130820/54c764ce/attachment-0001.htm>
More information about the wanproxy
mailing list