Redirect traffic to NFQUEUE

Right now all it does is print the packet payload. Need to find out wtf
 that actually is and how to treat it

#1 - Forward using iptables, pr0xy and custom DNS
This commit is contained in:
2019-07-27 00:08:35 +02:00
parent 25525d2ae6
commit e04e2989e5

View File

@@ -18,7 +18,9 @@ iptables -I OUTPUT 1 -j NFLOG
iptables -t nat -I OUTPUT 1 -j NFLOG
# Make sure traffic to I2P isn't redirected elsewhere
iptables -t nat -A OUTPUT -o eth0 -p tcp --dport 4444 -j ACCEPT
iptables -t nat -A OUTPUT -o eth0 \
-p tcp --dport $I2PD_PORT \
-j NFQUEUE --queue-num 1
# Redirect all other traffic on eth0 to pr0cks
iptables -t nat -A OUTPUT -o eth0 \