mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-25 14:59:14 +01:00
update n2n
This commit is contained in:
@@ -42,6 +42,7 @@ $ ping 192.168.200.1
|
||||
```bash
|
||||
$ docker-compose up -d edge
|
||||
$ sysctl -w net.ipv4.ip_forward=1
|
||||
$ iptables -t filter -A FORWARD -j ACCEPT
|
||||
$ iptables -t nat -A POSTROUTING -o n2n0 -j MASQUERADE
|
||||
```
|
||||
|
||||
@@ -53,4 +54,6 @@ $ ping 192.168.100.1
|
||||
$ nmap -sP 192.168.100.0/24
|
||||
```
|
||||
|
||||
> Static routes can be added on your home router.
|
||||
|
||||
[1]: https://www.ntop.org/products/n2n/
|
||||
|
||||
Reference in New Issue
Block a user