Skip to content

Instantly share code, notes, and snippets.

Open Data Coder p3t3r67x0

Block or report user

Report or block p3t3r67x0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@p3t3r67x0
p3t3r67x0 / rejson-for-ubuntu.md
Created Dec 24, 2019 — forked from lmj0011/rejson-for-ubuntu.md
Building and Loading the ReJSON Module on Linux Ubuntu 16.04 for Redis
View rejson-for-ubuntu.md

make sure you have at least redis v4.0+

redis-server --version

redis-cli --version

install the build-essential package

apt-get install build-essential

@p3t3r67x0
p3t3r67x0 / iptables.sh
Created Dec 14, 2019 — forked from thomasfr/iptables.sh
iptable rules to allow outgoing DNS lookups, outgoing icmp (ping) requests, outgoing connections to configured package servers, outgoing connections to all ips on port 22, all incoming connections to port 22, 80 and 443 and everything on localhost
View iptables.sh
#!/bin/bash
IPT="/sbin/iptables"
# Server IP
SERVER_IP="$(ip addr show eth0 | grep 'inet ' | cut -f2 | awk '{ print $2}')"
# Your DNS servers you use: cat /etc/resolv.conf
DNS_SERVER="8.8.4.4 8.8.8.8"
# Allow connections to this package servers
You can’t perform that action at this time.