Created
October 29, 2017 14:42
-
-
Save stypr/d739eb713c4b4248181bc78bf4af9184 to your computer and use it in GitHub Desktop.
iptables configuration for connections between irssiproxy and irccloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables -N irccloud | |
iptables -A irccloud --src 192.184.9.108 -j ACCEPT | |
iptables -A irccloud --src 192.184.9.110 -j ACCEPT | |
iptables -A irccloud --src 192.184.9.112 -j ACCEPT | |
iptables -A irccloud --src 192.184.10.118 -j ACCEPT | |
iptables -A irccloud --src 192.184.10.9 -j ACCEPT | |
iptables -A irccloud --src 170.178.187.131 -j ACCEPT | |
iptables -A irccloud --src 192.184.8.73 -j ACCEPT | |
iptables -A irccloud --src 192.184.8.103 -j ACCEPT | |
iptables -A irccloud -j DROP | |
# set appropriate --dport range | |
iptables -I INPUT -i ens3 -m tcp -p tcp --dport 1234:1250 -j irccloud |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to setup irssi-proxy to work with irccloud, you seem to know how it's done. I have the latest irssi and irssi-proxy on, but when I try to connect to my irssi with irccloud it says "connection refused"? using digital ocean box with irssi. Any tips?