1

I have RPI3 with Raspbian 9 stretch in it, I have an external wlan and I want to connect My home wifi with wlan1 then make hotspot with wlan0 and use tor as my network service, I used to set up with hostapd and dnsmasq but after I see this tutorial, I want do this with systemd-networkd without installing any other package,

I did step 1 to 3 of this tutorial and connected my home wifi with wlan1

now what?:D

1 Answers1

0

As far as I understand you have an additional USB wifi dongle for wlan1 and uses it to connect to your home wifi from the internet router.

Then you use the built-in wifi device with interface wlan0 to spawn an access point. On this interface is a tor router installed that routes trafic to the Tor network.

With this setup there is no way to use bonding because lack of a second line for one connection to failover.

You can follow this answer to setup the client connection and the access point without installing additional software: RPI3 Raspbian Stretch regular connection on wlan0 AP on wlan1. You only have to swap the interfaces.

If you have this running then it should not be difficult to install the tor router as you have already done. For doing it with systemd-networkd you can look at How to make Raspberry Pi a Tor router with all kind of network setup using systemd-networkd.

Ingo
  • 42,961
  • 20
  • 87
  • 207