tv sshd: accept connections via wiregrill
This commit is contained in:
parent
24b9fc11d6
commit
1a678e3093
|
@ -11,9 +11,11 @@ in {
|
|||
];
|
||||
tv.iptables.extra4.nat.PREROUTING = [
|
||||
"-d ${cfg.host.nets.retiolum.ip4.addr} -p tcp --dport 22 -j ACCEPT"
|
||||
"-d ${cfg.host.nets.wiregrill.ip4.addr} -p tcp --dport 22 -j ACCEPT"
|
||||
];
|
||||
tv.iptables.extra6.nat.PREROUTING = [
|
||||
"-d ${cfg.host.nets.retiolum.ip6.addr} -p tcp --dport 22 -j ACCEPT"
|
||||
"-d ${cfg.host.nets.wiregrill.ip6.addr} -p tcp --dport 22 -j ACCEPT"
|
||||
];
|
||||
tv.iptables.extra.nat.PREROUTING = [
|
||||
"-p tcp --dport 22 -j REDIRECT --to-ports 0"
|
||||
|
|
Loading…
Reference in a new issue