Questions tagged [iptables]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
125 views

Tor on Linux. DNAT port 53 DNS requests to TOR DNS listener port set to 9041 on 127.0.0.1 with iptables. tcpdump shows my def gateway replies. strange

Tor on Linux. DNAT port 53 DNS requests to TOR DNS listener port set to 9041 on 127.0.0.1 with iptables. tcpdump shows my default gateway answers to same client port. [root@localhost memyself]# ...
TrIPpY's user avatar
  • 1
0 votes
0 answers
115 views

Tor Transparent proxy as gateway not working

I am trying to setup a Tor Transparent Proxy and redirect all its traffic to eth1 which will act as gateway. Network setup: eth0 < public interface tap0 192.168.56.1 < Tor interface eth1 10.10.0....
mailman's user avatar
1 vote
0 answers
148 views

Allow Tor Browser to connect with iptables

Following this tutorial, I only allowed connections that are routed through my OpenVPN connection. However, this also results in me not being able to establish a connection in the Tor Browser. Is ...
vigon57217's user avatar
0 votes
1 answer
326 views

How can I limit the numbers of connections a Tor Relay is able to make? (iptables)

My router doesn't seem to have enough RAM to hold all Tor connections. My internet's basically dead. Have to use mobile internet :( So I have to limit the connections that Tor makes or the server ...
france1's user avatar
  • 17
0 votes
2 answers
274 views

Access ORPort via tailscale

I'm trying to setup Tor Exit Node but I'm behind CG-NAT. I came across the idea of port-forwarding my local ORPort to a VPS which has Public IP and is accessible to world. For communication between my ...
Arpit Agarwal's user avatar
0 votes
1 answer
796 views

How to redirect OpenVPN traffic through Tor along with all server traffic

I have a VDS server and OpenVPN on it. I want to redirect all server traffic (including OpenVPN) through Tor. I tried using this example and I was able to redirect server traffic, but OpenVPN traffic ...
Pikachu's user avatar
  • 101
0 votes
2 answers
147 views

connect two server via tor

if we have two server let's say server1(92.92.92.92) server2(76.76.76.76). I'm working on redirect incoming traffic on server1 port 4444 to server2 port 12345,this is easy with iptables rule on ...
tlf05649's user avatar
0 votes
0 answers
109 views

Alternative to tor that supports multiple protocols

Gost is a networking module which allows you to treat it as many things including a transparent proxy. It also allows for proxy chaining. On their page regarding transparent proxies you can see that ...
wookieluvrreturns's user avatar
1 vote
1 answer
664 views

Why doing transparent proxy is a bad idea?

I wonder why Tor Browser, Tails or Whonix are the most preferred ways of browsing Tor. What's wrong with manually doing a transparent proxy and routing all traffic over Tor through iptables? Why do it ...
user avatar
0 votes
0 answers
284 views

Connect to a vpn through tor nftables

I have a box with 3 interfaces wlan0, eth0 (with internet connection) and tun0 (Openvpn). I want to connect that box to a remote vpn using tor socks. Until now I have the sock 60140 open in tor, the ...
Jorge Cürbera's user avatar
0 votes
0 answers
2k views

Manually firewall Ubuntu for Tor?

Can someone offer a brief walk-through for firewalling Ubuntu 16 with UFW for tor. I only want to allow tor traffic out on my device. I'm not sure if it's even possible with UFW. # ufw default deny ...
user20282's user avatar
1 vote
0 answers
975 views

Iptables - Transparent Proxy with only one interface

I'm new to TOR and I'm trying to anonymize Internet connections from an automated malware analysis lab. All my machines are in the same subnetwork, and I just specify my TOR machine as a gateway for ...
Makuro's user avatar
  • 11
1 vote
1 answer
2k views

How to configure Whonix Gateway for communication between two local Workstations in Qubes?

I'm running Qubes with two Whonix Workstations side-by-side on the same Whonix Gateway. I'd like to set up SSH communication between them: locally, not through the onionsphere. How do I configure ...
xloem's user avatar
  • 121
1 vote
1 answer
228 views

What is the purpose of the nat ipables rules in Tails netfilter?

I had a look at the iptables rules from Tails OS Briefly speaking, what is the purpose of the lan iptables rules? Chain lan (3 references) target prot opt source destination ...
user203771's user avatar
2 votes
1 answer
5k views

Use IPTables to force traffic through Tor?

Just wondering, I am using Debian, I am wondering if I can make IPTables or a easier to use firewall drop all traffic but the traffic I allow (including DNS) goes through Tor. Can this be done? I don'...
fgsrgg's user avatar
  • 21
3 votes
1 answer
4k views

How to block all non-tor network traffic on GNU/Linux?

What is the simplest way to identify and block all non-tor network traffic on GNU/Linux? I assume the most effective way would be some kind of iptables rule to distinguish between tor and non-tor ...
Gary's user avatar
  • 31
3 votes
3 answers
4k views

Iptables to prevent Webrtc IP address leaks?

Since I do not understand correctly how https://github.com/diafygi/webrtc-ips works, I would be happy if someone could explain to me what I can do more generally than disabling Webrtc in my browser. ...
GEO's user avatar
  • 133
1 vote
0 answers
6k views

Orbot is Unreasonably Slow

I decided to start using orbot due to the tracking apparently being done by AT&T. I am unable however to get any sort of borderline acceptable internet speeds....When I try go to a webpage it is ...
Ethan's user avatar
  • 111
6 votes
1 answer
3k views

transparent proxy .onion firewall rules

I am configuring a tor hardware router as an anonymizing transparent proxy using the info here and the good news is everything is working as it should; I can connect and browse sites, dns is forwarded ...
August Germar's user avatar
2 votes
3 answers
733 views

What IPs will connect to my server running a hidden .onion site?

If I'm running Tor and a hidden .onion site on my server, which IPs will connect to it? Will it be just 127.0.0.1 or one of the thousands of daily changing exit nodes? Will they connect over a ...
Jin Pow's user avatar
  • 121
1 vote
1 answer
11k views

How do I setup Tor on Debian for secure use as a SOCKS5 proxy?

This is a fairly common question. I've found good guidance from the Tor Project, this and other StackExchange communities, and so on. But I haven't found a coherent set of instructions, covering both ...
mirimir's user avatar
  • 2,977