rofl0r / microsocks

tiny, portable SOCKS5 server with very moderate resource usage
Other
1.55k stars 275 forks source link

what the difference between listenip and bindaddr? #20

Open whoizit opened 5 years ago

whoizit commented 5 years ago

I do not understand what set in bindaddr this help not helps to me option -b specifies which ip outgoing connections are bound to

for me it sound like this options are the same

rofl0r commented 5 years ago

almost, you can for example bind to 0.0.0.0, but listen on a particular interface, or (see description of https://github.com/rofl0r/microsocks/pull/5 )