Fix iptables internet forwarding bug. Update UI errors.
This commit is contained in:
@@ -216,6 +216,7 @@ export default function buildHostIptablesScripts({
|
||||
if (scoped_subnet) {
|
||||
accept_lines.push(
|
||||
`iptables -A ${forward} -s ${source} -d ${scoped_subnet} -j ACCEPT`,
|
||||
`iptables -A ${forward} -s ${source} -o ${target_interface} -j ACCEPT`,
|
||||
`iptables -A ${input} -s ${source} -j ACCEPT`,
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user