TelegramMessenger / MTProxy

5.01k stars 830 forks source link

Problem with firewall #355

Closed matheograil closed 5 years ago

matheograil commented 5 years ago

Hello, I'm trying to open port 443, to turn on the proxy, with these commands with Iptables:

iptables -t filter -A OUTPUT -p tcp --dport 443 -j ACCEPT
iptables -t filter -A INPUT -p tcp --dport 443 -j ACCEPT

But it doesn't work, what Iptables rules do you use? Thank you.

matheograil commented 5 years ago

I had to add this rule: iptables -t filter -A OUTPUT -p tcp --dport 8888 -j ACCEPT