diff --git a/network/vif-route-qubes b/network/vif-route-qubes index 6809028..68fbf38 100755 --- a/network/vif-route-qubes +++ b/network/vif-route-qubes @@ -54,7 +54,7 @@ if [ "${ip}" ] ; then ${cmdprefix} ip route ${ipcmd} ${addr} dev ${vif} metric $metric done ${cmdprefix} iptables -t raw $iptables_cmd -i ${vif} \! -s ${ip} -j DROP - back_ip=${ip%.*}.1 + back_ip=`xenstore-read qubes-netvm-gateway` ${cmdprefix} ip addr ${ipcmd} ${back_ip}/32 dev ${vif} fi