test
This commit is contained in:
parent
e5caa12452
commit
c1388a2a5d
1 changed files with 2 additions and 2 deletions
|
@ -22,11 +22,11 @@
|
||||||
];
|
];
|
||||||
networking.firewall.extraCommands = ''
|
networking.firewall.extraCommands = ''
|
||||||
${pkgs.iptables}/bin/iptables -t nat -A PREROUTING -d 64.176.54.57 -j DNAT --to-destination 10.100.0.2
|
${pkgs.iptables}/bin/iptables -t nat -A PREROUTING -d 64.176.54.57 -j DNAT --to-destination 10.100.0.2
|
||||||
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.2 -j SNAT --to-source 64.176.54.57
|
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.100.0.2 -j SNAT --to-source 64.176.54.57
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.xinetd = {
|
services.xinetd = {
|
||||||
enable = true;
|
enable = false;
|
||||||
services = [
|
services = [
|
||||||
{
|
{
|
||||||
name = "http";
|
name = "http";
|
||||||
|
|
Loading…
Reference in a new issue