diff options
author | Aditya Aswani <a.aswani@samsung.com> | 2022-07-21 21:28:58 +0530 |
---|---|---|
committer | Aditya Aswani <a.aswani@samsung.com> | 2022-07-21 21:32:42 +0530 |
commit | 1b869797ad4cc1e4e03914589af5bf5f5b247846 (patch) | |
tree | 932de95c4c7dc05a284b5ce2fd831b7519072944 | |
parent | 8d64247c60aab3f83b4ee6968098469f33c7a190 (diff) | |
download | qemu-1b869797ad4cc1e4e03914589af5bf5f5b247846.tar.gz qemu-1b869797ad4cc1e4e03914589af5bf5f5b247846.tar.bz2 qemu-1b869797ad4cc1e4e03914589af5bf5f5b247846.zip |
Removed iptables rules for every launch of emulators
Change-Id: Ic25ce4aa50b769921bcc0a00bb82ecbabc72af9e
Signed-off-by: Aditya Aswani <a.aswani@samsung.com>
-rwxr-xr-x | tizen/src/scripts/emulator-ifup-linux.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tizen/src/scripts/emulator-ifup-linux.sh b/tizen/src/scripts/emulator-ifup-linux.sh index dbff6c510c..1a6a571f4f 100755 --- a/tizen/src/scripts/emulator-ifup-linux.sh +++ b/tizen/src/scripts/emulator-ifup-linux.sh @@ -57,15 +57,6 @@ fi NET=`netstat -rn | grep ^0.0.0.0 | awk '{print $8}'` echo "NET: $NET" -############## -sudo iptables -I FORWARD 1 -i $BR -j ACCEPT -sudo iptables -I FORWARD 1 -o $BR -j ACCEPT -sudo iptables -I INPUT 1 -i $BR -j ACCEPT -sudo iptables -I OUTPUT 1 -o $BR -j ACCEPT -sudo iptables -A FORWARD -o $NET -j ACCEPT -sudo iptables -t nat -A POSTROUTING -o $NET -j MASQUERADE -############# - if [ "$NET" != "$BR" ] then echo "route add default gw $GW" |