Open Kim-Gang-Min opened 2 years ago
apt update
sudo apt-get install bridge-utils sudo brctl addbr br0
<vi /etc/dhcpcd.conf > denyinterfaces eth0 eth1
<vi /etc/network/interfaces> auto br0 iface br0 inet manual bridge_ports eth0 eth1
apt-get install libatlas-base-dev apt install iptables apt-get install iptables-persistent
pip3 install scapy pip3 install sklearn pip3 install numpy --upgrade --ignore-installed pip3 install pandas pip3 install requests
iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT pre-up iptables-restore < /etc/iptables.rules pst-down iptables-save -c > /etc/iptables.rules
pip3 install firebase pip3 install firebase_admin pip3 install pyfcm
apt update
sudo apt-get install bridge-utils sudo brctl addbr br0
<vi /etc/dhcpcd.conf > denyinterfaces eth0 eth1
<vi /etc/network/interfaces> auto br0 iface br0 inet manual bridge_ports eth0 eth1
apt-get install libatlas-base-dev apt install iptables apt-get install iptables-persistent
pip3 install scapy pip3 install sklearn pip3 install numpy --upgrade --ignore-installed pip3 install pandas pip3 install requests
iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT pre-up iptables-restore < /etc/iptables.rules pst-down iptables-save -c > /etc/iptables.rules