added base reverse proxy

This commit is contained in:
2024-08-22 17:14:13 +01:00
parent 9d9e385909
commit 505ef3b982
12 changed files with 221 additions and 18 deletions

View File

@@ -134,8 +134,8 @@ func EscapeFirewall(HostOutsideNATIP string, HostOutsideNATPort string, internal
}
//export MapPort
func MapPort(Port string) *C.char {
entireAddress, _, err := abstractions.MapPort(Port)
func MapPort(Port string, DomainName string) *C.char {
entireAddress, _, err := abstractions.MapPort(Port, DomainName)
if err != nil {
return C.CString(err.Error())
}