mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
12 lines
262 B
Bash
Executable file
12 lines
262 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Setup the bridge
|
|
brctl addbr br0
|
|
brctl addif br0 eth0 wlan0
|
|
|
|
# Enable the iptables
|
|
iptables -F
|
|
iptables -A FORWARD -m physdev --physdev-in wlan0 -j NFQUEUE --queue-num 0
|
|
|
|
# Now start ntopng in bridging mode on netfilter
|
|
# ntopng -i nf:0 -w 80,3000
|