Iptables bugfix: add space between -i flag and interface name
This commit is contained in:
@@ -268,8 +268,8 @@ export default function buildHostIptablesScripts({
|
|||||||
`iptables -A ${forward} -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT`,
|
`iptables -A ${forward} -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT`,
|
||||||
`iptables -A ${input} -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT`,
|
`iptables -A ${input} -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT`,
|
||||||
``,
|
``,
|
||||||
`iptables -A ${input} -i${interface_name} -p udp --dport 53 -j ACCEPT`,
|
`iptables -A ${input} -i ${interface_name} -p udp --dport 53 -j ACCEPT`,
|
||||||
`iptables -A ${input} -i${interface_name} -p tcp --dport 53 -j ACCEPT`,
|
`iptables -A ${input} -i ${interface_name} -p tcp --dport 53 -j ACCEPT`,
|
||||||
``,
|
``,
|
||||||
...accept_lines,
|
...accept_lines,
|
||||||
``,
|
``,
|
||||||
|
|||||||
Reference in New Issue
Block a user