1
0
Fork 0

Get rid of I2P

This commit is contained in:
Braiden Vasco 2018-03-30 11:26:47 +00:00
parent e9f97b0693
commit 2a3b78631b
No known key found for this signature in database
GPG Key ID: 2F87CADA171E2424
5 changed files with 1 additions and 19 deletions

View File

@ -71,7 +71,7 @@ capsh --drop=cap_setfcap -- -c "$BOOTSTRAP_CMD \
--components=main,contrib,non-free \
--arch armhf \
--keyring $KEYS_DIR/raspbian-archive-keyring.gpg \
--include=ca-certificates,apt-transport-https \
--include=ca-certificates \
jessie \
$ROOTFS_DIR \
http://mirrordirector.raspbian.org/raspbian/" || rmdir "$ROOTFS_DIR/debootstrap/"
@ -122,7 +122,6 @@ ln -nsf /proc/mounts "$ROOTFS_DIR/etc/mtab"
apply_file 644 '/etc/apt/sources.list'
on_chroot apt-key add - < "$KEYS_DIR/raspberrypi-archive-keyring.gpg"
on_chroot apt-key add - < "$KEYS_DIR/i2p-archive-keyring.gpg"
apply_file 644 '/etc/apt/apt.conf.d/02noinstall'
apply_file 644 '/etc/apt/apt.conf.d/50pdiffs'
@ -276,13 +275,6 @@ EOF
apply_file 644 '/etc/tor/torrc'
##
# Install I2P.
#
on_chroot << EOF
apt-get install -y i2p
EOF
##
# Configure firewall.
#

View File

@ -1,3 +1,2 @@
deb http://mirrordirector.raspbian.org/raspbian jessie main
deb http://archive.raspberrypi.org/debian jessie main
deb https://deb.i2p2.de jessie main

View File

@ -7,10 +7,6 @@
-A PREROUTING -i eth0 -p udp --dport 5353 -j REDIRECT --to-ports 5353
# Tor SOCKS proxy
-A PREROUTING -i eth0 -p tcp --dport 9050 -j REDIRECT --to-ports 9050
# I2P router console web interface
-A PREROUTING -i eth0 -p tcp --dport 7657 -j DNAT --to-destination 127.0.0.1:7657
# I2P HTTP proxy
-A PREROUTING -i eth0 -p tcp --dport 4444 -j DNAT --to-destination 127.0.0.1:4444
# Tor transparent proxy
-A PREROUTING -i eth0 -p tcp --syn -j REDIRECT --to-ports 9040

View File

@ -11,8 +11,3 @@ net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.wlan0.disable_ipv6 = 1
##
# Allow NAT to localhost (for I2P).
#
net.ipv4.conf.eth0.route_localnet = 1

Binary file not shown.