[tor-relays] iptables for relays not behind a nat

Chris Sheats yawnbox at gmail.com
Thu Jan 31 00:28:21 UTC 2013


If you're using Ubuntu server, using UFW to manage your iptables rules
is what I like doing.

sudo ufw enable
sudo ufw allow 9030
sudo ufw allow 9001

Since it's a VPS (presuming remote), be sure to allow SSH:

sudo ufw limit 22/tcp

Check it then reload the config to enable it:

sudo ufw status verbose
sudo ufw reload

And of course any other ports that you use, like I do serve my "This
is an Exit Router" page from the same host, so:

sudo ufw allow 80/tcp
sudo ufw reload

Cheers



On Wed, Jan 30, 2013 at 12:29 PM, Chris Baines <cbaines8 at gmail.com> wrote:
> Can anyone help with equivalents of the iptables rules given here
> https://trac.torproject.org/projects/tor/wiki/doc/TorFAQ#HowcanImakemyrelayaccessibletopeoplestuckbehindrestrictivefirewalls
> but for a relay on a vps with a static ip?
>
> Thanks,
>
> Chris
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays



-- 
Chris Sheats
yawnbox at gmail.com


More information about the tor-relays mailing list