I'm transplanted ss5 to ros on x86;
ss5 -h
[INFO] SS5 Version 3.8.9 - Release 8
[INFO] Copyright (C) 2002-2013 by Matteo Ricchetti - <matteo.ricchetti@libero.it>
[INFO] Usage incorrect...
[INFO] Usage: ss5
[INFO] [-s] Use syslog instead of ss5.log file.
[INFO] [-v] Print version information.
[INFO] [-n] Prefork processes (not supported with -t option).
[INFO] [-t] Threaded mode.
[INFO] [-u] Username for ss5 execution.
[INFO] [-b] Bind interface.
[INFO] [-c] Run syntax check for config file.
[INFO] [-m] No logging.
[INFO] [-p] Pid file pathname.
[INFO] Modules:
[INFO] mod_socks5: required
[INFO] mod_authen: required
[INFO] mod_author: required
[INFO] mod_log: required
[INFO] mod_proxy: required
[INFO] mod_balance: optional
[INFO] mod_bandwidth: optional
[INFO] mod_dump: optional
[INFO] mod_filter: optional
[INFO] mod_socks4: optional
[INFO] mod_statistics: optional
uname -a
Linux MikroTik 3.3.5-smp #1 SMP Thu Dec 3 14:46:49 EET 2015 i686 unknown
socks5 service bind to 0.0.0.0:1080
My network environment is pppoe multi dial, pppoe though vrrp bring about dial.ths ss5 not work well.
It can get 255 public ips,and share socks5 service.The network has only 1 default route.
When I use anyone ip to visit remote web via socks5,remote web access log is the same ip.
For example:
ros pppoe dial ip is : 111.151.1.1,111.151.1.2,111.151.1.3,socks5 bind to them.
I use 111.151.1.1 to connect the socks5 service,remote web access log get the ip is 111.151.1.1
use 111.151.1.2,111.151.1.3, access log ip is 111.151.1.1 too.
How to set ros ,let me use 111.151.1.1 visit socks5,remote web access log ip is 111.151.1.1
use 111.151.1.2 ,remote ip is 111.151.1.2
use 111.151.1.3 ,remote ip is 111.151.1.3?
I thank iptables can solve my question,but the ros kernel is't support iptables.
How can i do?