[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

socks5 server



Czy ktoś z Was próbował postawić serwer sock5 na Debianie?
Ja użyłem dante-server - niestety nie działa. Przy próbie połączenia otrzymuję w kliencie (obojętnie jakim): "firewall closed connection".
Odrazu mówię, że skompilowałem jądro z obsługą netlink.
Oto logi z dante:
Aug 15 20:46:38 danted[520]: created new iochild
Aug 15 20:47:09 danted[513]: pass(1): tcp/accept [: 192.168.0.2.3157 -> 192.168.0.1.1080
Aug 15 20:47:09 danted[521]: created new negotiatorchild
Aug 15 20:47:09 danted[522]: created new requestchild
Aug 15 20:47:11 danted[515]: getifa(): send() to netlink failed: Connection refused (errno = 111)
Aug 15 20:47:11 danted[523]: created new iochild

No i moja konfiguracja dante'go:
logoutput:  stderr /var/log/dante.log
internal: eth0 port = 1080
external: ppp0
method: none username
user.privileged: root
user.notprivileged: sockd
connecttimeout: 30
iotimeout: 0

client pass {
        from: 192.168.0.0/24 port 1-65535 to: 0.0.0.0/0
}


client block {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: connect error
}

block {
        from: 0.0.0.0/0 to: 127.0.0.0/8
        log: connect error
}

pass {
        from: 192.168.0.0/24 to: 0.0.0.0/0
        command: bind
        log: connect error
}

pass {
        from: 0.0.0.0/0 to: 192.168.0.0/24
        command: bindreply udpreply
        log: connect error
}

pass {
        from: 192.168.0.0/24 to: 0.0.0.0/0
        protocol: tcp udp
}

block {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: connect error
}


Może polecacie jakiś inny server socks?



Reply to: