mirror of
https://github.com/mr0xb/home-iac.git
synced 2026-08-28 03:44:57 -04:00
initial commit
This commit is contained in:
commit
5e3d71294d
10 changed files with 274 additions and 0 deletions
22
terraform/unifi/port_foward.tf
Normal file
22
terraform/unifi/port_foward.tf
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
resource "unifi_port_forward" "rev_proxy_https" {
|
||||
name = "UVC_HTTPs_ChooChoo"
|
||||
enabled = true
|
||||
port_forward_interface = "wan"
|
||||
src_ip = "any"
|
||||
dst_port = "443"
|
||||
fwd_ip = "192.168.1.206"
|
||||
fwd_port = "443"
|
||||
protocol = "tcp"
|
||||
log = true
|
||||
}
|
||||
|
||||
resource "unifi_port_forward" "rev_proxy_http" {
|
||||
name = "UVC_HTTP_ChooChoo"
|
||||
enabled = true
|
||||
port_forward_interface = "wan"
|
||||
src_ip = "any"
|
||||
dst_port = "80"
|
||||
fwd_ip = "192.168.1.206"
|
||||
fwd_port = "80"
|
||||
protocol = "tcp"
|
||||
}
|
||||
Loading…
Reference in a new issue