Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit d5d4fff

Browse files
author
icymind
committed
install ip,tproxy when build vm
1 parent fcd43d2 commit d5d4fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/lib/vrouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function installPackage (serialTcpPort, waitForOutput = 20000) {
9090
const subCmds = []
9191
subCmds.push(`sed -i 's/downloads.openwrt.org/mirrors.tuna.tsinghua.edu.cn\\/openwrt/g' /etc/opkg/distfeeds.conf`)
9292
subCmds.push('opkg update')
93-
subCmds.push('opkg remove dnsmasq && opkg install dnsmasq-full ipset openssh-sftp-server libopenssl rng-tools')
93+
subCmds.push('opkg remove dnsmasq && opkg install dnsmasq-full ipset openssh-sftp-server libopenssl rng-tools iptables-mod-tproxy ip')
9494
subCmds.push('/etc/init.d/dropbear restart')
9595
subCmds.push('echo "done" > /tmp/log/vrouter')
9696
const cmd = subCmds.join(' && ')

0 commit comments

Comments
 (0)