diff --git a/test/test.sh b/test/test.sh index 42b063e..eb5bcbc 100755 --- a/test/test.sh +++ b/test/test.sh @@ -40,8 +40,8 @@ echo "For the UDP and TCP reply services:" echo "Install nmap-ncat:" echo "sudo dnf install nmap-ncat" echo "Allow incoming traffic from local virtual interfaces on the appropriate ports:" -echo "sudo iptables -I INPUT -i vif+ -p udp --dport $udp_echo_port_0 -j ACCEPT" -echo "sudo iptables -I INPUT -i vif+ -p udp --dport $udp_echo_port_1 -j ACCEPT" +echo "sudo iptables -I INPUT -i vif+ -p udp --dport $udp_echo_port -j ACCEPT" +echo "sudo iptables -I INPUT -i vif+ -p tcp --dport $tcp_echo_port -j ACCEPT" echo "Then run the services:" echo "ncat -e /bin/cat -k -u -l 1235" echo "ncat -e /bin/cat -k -l 6668"