

As a fact, I'm writing this on my RPi3b+ and I have the same error but I'm still connected to the internet. For all of the people saying that they are losing internet connection because `DHCP connection has been lost` are not realizing that you still have internet access. This tutorial is not wrong and it should work. But I suggest that anybody who comes by and finds that the internet is not working to reinstall the os and try again from scratch. Some devices such as samsungs try to prevent insecure connection. This would mostly be due to older phones or phones with greater security. Other people are having trouble with just getting this to connect or even showing up as a connectable device on there phones. Alot of people hear do not realize that the eth0 is being bridge to wlan0 so that it can be broadcast with hostapd. Iptables -t nat -A POSTROUTING -p tp -d 192.168.42.1 -dport 213 -j SNAT -to-source 192.168.42.1īut now when I ssh -p 213, it routes somehow to the middle box's port 22 and I login to it instead of the one behind it!Īm I doing this in a stupid way? Should I take something into consideration? Any suggestions and help needed urgently! I've been struggling with this the whole day, all examples online haven't worked for my situation.It would appear that this tutorial is due for a rewrite. I tried adding the following rules to iptables iptables -t nat -A PREROUTING -p tcp -dport 213 -j DNAT -to-destination 192.168.42.1:22 I planned to add some rule to middle-box's iptables so that connecting SSH to port 213 would instead route to port 22 of the box behind the tor box. I have it set up but I cannot test it because I cannot SSH to the box behind the tor box. I didn't install hostapd but other things I did, including setting up dhcp-server, setting up eth1 for static ip and finally configuring NAT.įollowed Onion pi instructions carefully. To accomplish this I followed Adafruit's onion pi tutorial as well as Install software.įollowed the instructions to setup RasPi as access point carefully, but replaced wlan0 with eth1. I want to be able to SSH into the middle box as well as the box behind the Tor. The routing should not affect the connections of the middle box. All traffic that comes from the eth1 (computer) should be routed through Tor. USB2-Ethernet adapter spawned network interface eth1 and the normal ethernet port on the board is eth0. The Raspberry Pi will be in middle of a computer and a router connected to each other with Ethernet cables. I bought a USB2-Ethernet adapter and decided to create hardware Tor routing. I have Raspberry Pi 1 model B+ with Raspbian Wheezy.
