Change IP of Intuos and forward SSH to it
This commit is contained in:
parent
0da3e4a95f
commit
d183ffb5a1
2 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
hostName = "intuos";
|
||||
wireless.enable = true;
|
||||
interfaces."wlp1s0".ipv4.addresses = [{
|
||||
address = "10.2.0.102";
|
||||
address = "10.2.0.101";
|
||||
prefixLength = 8;
|
||||
}];
|
||||
defaultGateway = {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
type nat hook prerouting priority dstnat; policy accept;
|
||||
tcp dport 2211 dnat ip to 10.2.0.100:22 comment "SSH to Tower"
|
||||
tcp dport 2222 dnat ip to 10.2.0.2:22 comment "SSH to Kitty"
|
||||
tcp dport 2233 dnat ip to 10.2.0.101:22 comment "SSH to Intuos"
|
||||
|
||||
udp dport { 27005, 27015 } dnat ip to 10.2.0.100 comment "PC Hosted Games"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue