Skip to content

Commit

Permalink
fix: 💄 clean up links and add troubleshooting instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
louonezime committed Oct 22, 2023
1 parent 86bbf6f commit c189833
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@ As we connect a Raspberry Pi to Wi-Fi, it will intercept packets using the WireG

### Installation

If you want to create a executable, simply run the following command:
# Raspberry Pi

Clone this repository

```
git clone [email protected]:PoCInnovation/Virtual-No-Ads.git
```

Follow the instructions within the raspi [directory](<https://github.com/PoCInnovation/Virtual-No-Ads/tree/main/raspi>)

Then, if you want to create a executable, simply run the following command:

```
cargo build
Expand Down
8 changes: 7 additions & 1 deletion raspi/raspberrypi_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Open the dnsmasq configuration file for editing with:
$ sudo nano /etc/dnsmasq.conf
```

Edit the line starting with *resolv-file* with:

```
resolv-file=/run/dnsmasq/resolv.conf
```

And add the following lines to the file and save the file before exiting:

```
Expand Down Expand Up @@ -109,7 +115,7 @@ And uncomment the line net.ipv4.ip_forward=1. (remove the # at the beginning of

7. Enable NAT (Network Address Translation):

Run the following iptables commands to enable NAT (or instead run the bash script provided [here](<link>) at Virtual-No-Ads/raspi/iptables_conf.sh automatically)
Run the following iptables commands to enable NAT (or instead run the bash script provided [here](<https://github.com/PoCInnovation/Virtual-No-Ads/blob/main/raspi>) at [Virtual-No-Ads/raspi/iptables_conf.sh](<https://github.com/PoCInnovation/Virtual-No-Ads/blob/main/raspi/iptables_conf.sh>) automatically)

```
$ sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
Expand Down
2 changes: 1 addition & 1 deletion raspi/wireguard.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ AllowedIPs = 0.0.0.0/0, ::/0


5. Configure Firewall Rules
(or instead can run the bash script provided [here](<link>) at Virtual-No-Ads/raspi/iptables_conf.sh automatically):
(or instead can run the bash script provided [here](<https://github.com/PoCInnovation/Virtual-No-Ads/blob/main/raspi>) at [Virtual-No-Ads/raspi/iptables_conf.sh](<https://github.com/PoCInnovation/Virtual-No-Ads/blob/main/raspi/iptables_conf.sh>) automatically):

Flush existing rules and chains

Expand Down

0 comments on commit c189833

Please sign in to comment.