Compare commits
2 commits
afca75441c
...
8743b50f7f
Author | SHA1 | Date | |
---|---|---|---|
b12f | 8743b50f7f | ||
Benjamin Yule Bädorf | 316ba9ef53 |
|
@ -58,6 +58,7 @@
|
|||
networking.firewall.interfaces.enp35s0.allowedTCPPorts = [ 2223 ];
|
||||
networking.firewall.extraCommands = ''
|
||||
iptables -t nat -i enp35s0 -I PREROUTING -p tcp --dport 22 -j REDIRECT --to-ports 2223
|
||||
ip6tables -t nat -i enp35s0 -I PREROUTING -p tcp --dport 22 -j REDIRECT --to-ports 2223
|
||||
'';
|
||||
|
||||
services.forgejo = {
|
||||
|
|
Loading…
Reference in a new issue