Browse Source

fixup: WireGuard.js

pull/939/head
Philip H 1 year ago
committed by GitHub
parent
commit
a36ab8891e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -73,7 +73,7 @@ module.exports = class WireGuard {
throw err;
});
// await Util.exec(`iptables -t nat -A POSTROUTING -s ${WG_SERVER_ADDRESS/${WG_DEFAULT_ADDRESS_RANGE} -o ' + WG_DEVICE + ' -j MASQUERADE`);
// await Util.exec(`iptables -t nat -A POSTROUTING -s ${WG_SERVER_ADDRESS}/${WG_DEFAULT_ADDRESS_RANGE} -o ' + WG_DEVICE + ' -j MASQUERADE`);
// await Util.exec('iptables -A INPUT -p udp -m udp --dport 51820 -j ACCEPT');
// await Util.exec('iptables -A FORWARD -i wg0 -j ACCEPT');
// await Util.exec('iptables -A FORWARD -o wg0 -j ACCEPT');

Loading…
Cancel
Save