<p>The solution was to use Tor: under network options set the proxy to <code>SOCKS5 localhost 9050</code>.</p>

CC BY-SA 3.0
2017-08-20T14:26:51.610Z
2017-08-20T14:26:51.610Z
mYnDstrEAm
<p>So I'm running Debian 9.1 with KDE and am using iptables to disallow all outgoing and incoming traffic by default except that which I explicitly permit.</p>

<p>I keep on being disconnected with a red dot in the bottom right. I already tried selecting servers manually and opening port 5002. When running <code>netstat -pln</code> other strange ports show up. If possible I'd like to only use port 80 and 443. Which ports do I need to open in which way to get it working? Or is there anything else I need to configure to get it working?</p>

CC BY-SA 4.0
2024-01-13T10:57:33.537Z
I’m voting to close this question because It's a general system administration question, not specific to Bitcoin.
Antoine Poinsot
<electrum><linux><port><firewall>
How can I get Electrum running under Debian with a restrictive firewall?
mYnDstrEAm
# How can I get Electrum running under Debian with a restrictive firewall?

(Asked by: username_0 on 2017-08-18)

So I'm running Debian 9.1 with KDE and am using iptables to disallow all outgoing and incoming traffic by default except that which I explicitly permit.

I keep on being disconnected with a red dot in the bottom right. I already tried selecting servers manually and opening port 5002. When running `netstat -pln` other strange ports show up. If possible I'd like to only use port 80 and 443. Which ports do I need to open in which way to get it working? Or is there anything else I need to configure to get it working?

**Tags:** electrum, linux, port, firewall

> **Comments:**
> **username_1**: I’m voting to close this question because It's a general system administration question, not specific to Bitcoin.  

---

## 1 answers

### Answer by username_0 on 2017-08-20. Score: 0

The solution was to use Tor: under network options set the proxy to `SOCKS5 localhost 9050`.


---

