![]() |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
ahhh thanks nieldk!
I'll look into this. |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
You will probably need to look at this, to ensure that services are indeed started AFTER network is UP ;)
Yeah, systemd has some issues (Linus is Yelling at the maintainer) http://www.freedesktop.org/wiki/Soft...NetworkTarget/ |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
Thanks nieldk!
I'm a bit new to the Sailfish OS. So if I understand it correctly: The dhclient should always set 127.0.0.1 as nameserver (no matter what). This script: Code:
#!/bin/sh Then all outgoing traffic (except for localhost) will be routed trough Tor and I'll be able to resolve .onion names. Also I'll be flagged as an "extremist" by the NSA according to recent news :P |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
Unfortunately I am not familiar with the ProxyCommand option. Maybe someone else here can help you out?
|
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
Perhaps you need to allow the traffic to the remote proxy, which your local proxy 127.0.0.1:3339 connects to.
|
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
Quote:
|
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
iptables -t nat -A REDSOCKS -d xxx.xxx.xxx.xxx -j RETURN
replace the xxx's with your remote proxy server |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
Read up on iptables usage :)
For example: http://www.cyberciti.biz/faq/linux-p...with-iptables/ |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
My guess, DNS is not setup correctly.
Either in DHCP its not given, or, iptables is blocking DNS requests. |
Re: Transparent socks proxy (shadowsocks and ssh tunnel)
I made a UI for this(the backend use gost https://github.com/ginuerzh/gost/blo...r/README_en.md )
https://openrepos.net/content/birdzh...gs-gost-button :D |
All times are GMT. The time now is 19:02. |
vBulletin® Version 3.8.8