Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a way to block non-Tor traffic via iptables or similar? That would be really helpful since it's only human to make some mistake and leave another connection open. To connect to my VPN I use a script that changes all iptables policies to DROP and allows traffic only on lo and tun0. I still have to allow traffic on eth0 to the VPN IP, but that's unavoidable I guess.


Yes, it's possible. You run tor under its own user and block all ingress/egress traffic except from tor's user. You talk to the outside world proxying through tor.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: