Hello Guys,
I already have "system -> OpenVPN -> tor -> internet".
But I thought it must be possible to route it like in the Subject of this post!
Code:
export OVPN=tun0
iptables -A INPUT -i $OVPN -s 10.8.0.0/24 -m state --state NEW -j ACCEPT
iptables -t nat -A PREROUTING -i $OVPN -p udp --dport 53 -s 10.8.0.0/24 -j DNAT --to-destination 10.8.0.1:53530
iptables -t nat -A PREROUTING -i $OVPN -p tcp -s 10.8.0.0/24 -j DNAT --to-destination 10.8.0.1:9040
iptables -t nat -A PREROUTING -i $OVPN -p udp -s 10.8.0.0/24 -j DNAT --to-destination 10.8.0.1:9040
this works pretty fine, but i want to add one more VPN between Tor and the Internet...
does anyone of you guys know how to route it like "system -> openvpn -> tor -> openvpn -> internet", i think you know what i mean.
I know my Ping will be like I don't know xD...
Thank You, LeFex