semigodking/redsocks

help me configering simple socks4 proxy.

tazihad opened this issue · 1 comments

in redsocks I used this as simple socks4 proxy. just gave ip and port. But too much confused with redsocks2 config. what could be the alternative for socks4 proxy?

base {
 log_debug = on;
 log_info = on;
 log = "stderr";
 daemon = off;
 redirector = iptables;
}

redsocks {
    local_ip = 127.0.0.1;
    local_port = 12345;

    ip = 103.82.11.233; // your custom socks4 ip
    port = 4153;          // your custom socks4 port
    type = socks4;
    // known types: socks4, socks5, http-connect, http-relay

    // login = username;
    // password = password;
}