Ensure that the cjdns port is open
This commit is contained in:
parent
34628ad0f7
commit
0da00d8df3
|
@ -826,6 +826,10 @@ function install_cjdns {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ip6tables -A INPUT -i eth0 -p udp --dport $CJDNS_PORT -j ACCEPT
|
||||||
|
ip6tables -A INPUT -i eth0 -p tcp --dport $CJDNS_PORT -j ACCEPT
|
||||||
|
save_firewall_settings
|
||||||
|
|
||||||
if ! grep -q "Mesh Networking" /home/$MY_USERNAME/README; then
|
if ! grep -q "Mesh Networking" /home/$MY_USERNAME/README; then
|
||||||
CURRENT_IP_ADDRESS=$(ip addr show | grep "inet " | sed -n 2p | awk -F ' ' '{print $2}' | awk -F '/' '{print $1}')
|
CURRENT_IP_ADDRESS=$(ip addr show | grep "inet " | sed -n 2p | awk -F ' ' '{print $2}' | awk -F '/' '{print $1}')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue