Either configure individual apps (which have built-in support for SOCKS) or enforce proxy system-wide transparently (what you are trying to do). But you need to make your traffic SOCKS-aware before directing towards SOCKS proxy. it takes TCP/UDP traffic and SOCKSify it before sending through shadowsocks tunnel. The link you have provided is not setting up SOCKS but a transparent proxy i.e. Are there other settings that I should enable first? I didn't tick any app so I assume that means all app go through custom script, right?.Did I create a wrong script? How do I create a script that does what I want to do?.$IPTABLES -t nat -A OUTPUT -p udp -j DNAT -to-destination $SERVER:$PORT $IPTABLES -t nat -A OUTPUT -p tcp -j DNAT -to-destination $SERVER:$PORT $IPTABLES -t nat -A OUTPUT -p udp -dport 53 -j DNAT -to-destination $SERVER:$PORT $IPTABLES -t nat -A OUTPUT -p tcp -dport 53 -j DNAT -to-destination $SERVER:$PORT $IPTABLES -t nat -A OUTPUT -d 127.0.0.1 -j RETURN $IPTABLES -t nat -A OUTPUT -o lo -j RETURN So my question is, if let's say I have a socks5 server running at 192.168.1.1:1088 which tunnels all connections via vmess protocol (aka V2Ray) to remote servers in the US, how do I create my custom script? I have tried: IP6TABLES=/system/bin/ip6tables It looks like AFWall+ is able to create a NAT forwarding policy to keep all traffic going through a SOCKS5 proxy and fool Google apps into thinking they are not connected via a VPN (Google apps implement additional security measures when connecting via VPNService and if you are in China you will not pass the security check - the security check requests don't go through VPN, so they will EOF because GFW will kill these requests, read more here). In light of that, Maxwave Proxifier employs Android VpnService to create the required VPN network interface.I got the inspiration here. User data must be sent through a on-device VPN network interface to be encapsulated and encrypted before Maxwave Proxifier sends them to their destination via a user-specified proxy server. Note: VPN is a core functionality of Maxwave Proxifier. And you are allowed to change this default setting by configuring your own DNS server, which will be effective on all Apps installed in your device. It uses the secure Google DNS server 8.8.8.8 by default. Maxwave can be used as a system DNS changer. Maxwave protects your privacy by hiding your real IP address from the site you visit.ģ. You can block your device from certain malicious sitesĢ. And your IP address is kept in secrecy, offering you better privacy. And various types of industry-standard proxy protocol types are supported:īy using an encrypted protocol like shadowsocks, plain-text data is protected from being snooped by any intermediate attackers. Even apps that do not have built-in support for proxy follow the proxy and routing rules specified by you with Maxwave Proxifier. You don't need to configure proxy for each App. Network traffic can be redirected through your configured proxy servers. Maxwave Proxifier allows you to redefine the behavior of all the network traffic on your device, with a very high level of flexibility.ġ. Maxwave is a rule-based proxifier that supports Shadowsocks, SOCKS and HTTPS
0 Comments
Leave a Reply. |