Compare commits
2 Commits
008a51702a
...
c55c0d7367
Author | SHA1 | Date | |
---|---|---|---|
c55c0d7367 | |||
222d538de6 |
@ -115,6 +115,13 @@
|
|||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [ 60001 ];
|
networking.firewall.allowedUDPPorts = [ 60001 ];
|
||||||
|
|
||||||
|
networking.firewall.extraCommands = ''
|
||||||
|
iptables -A FORWARD -i enp1s0.202 -o enp1s0.102 -j ACCEPT
|
||||||
|
iptables -A FORWARD -i enp1s0.202 -j DROP
|
||||||
|
iptables -A FORWARD -i enp1s0.102 -o enp1s0.202 -j ACCEPT
|
||||||
|
iptables -A FORWARD -o enp1s0.202 -j DROP
|
||||||
|
'';
|
||||||
|
|
||||||
# Routing tables
|
# Routing tables
|
||||||
# Table: 10000
|
# Table: 10000
|
||||||
# - primary routes
|
# - primary routes
|
||||||
|
Loading…
Reference in New Issue
Block a user