Sshd: Listen to ipv6.
This commit is contained in:
parent
21a85aea62
commit
642ce3d327
|
@ -148,8 +148,7 @@ in
|
||||||
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d 0/0 -o ${wan} -j MASQUERADE
|
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d 0/0 -o ${wan} -j MASQUERADE
|
||||||
|
|
||||||
# Full access from Lan.
|
# Full access from Lan.
|
||||||
iptables -I INPUT -j ACCEPT -i ${lan}
|
ip46tables -I INPUT -j ACCEPT -i ${lan}
|
||||||
ip6tables -I INPUT -j ACCEPT -i ${lan}
|
|
||||||
|
|
||||||
# Public email server.
|
# Public email server.
|
||||||
ip46tables -I INPUT -j ACCEPT -i ${wan} -p tcp --dport 25
|
ip46tables -I INPUT -j ACCEPT -i ${wan} -p tcp --dport 25
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
addr = "0.0.0.0";
|
addr = "0.0.0.0";
|
||||||
port = 22143;
|
port = 22143;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
addr = "[::]";
|
||||||
|
port = 22143;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
settings = {
|
settings = {
|
||||||
GSSAPIAuthentication = false;
|
GSSAPIAuthentication = false;
|
||||||
|
|
Loading…
Reference in a new issue