参照:
Use Web Application Proxy to publish Lync Server 2013
http://exchangepro.dk/2013/11/15/use-web-application-proxy-to-publish-lync-server-2013/
How to Publish Lync Server 2013 Web Services with Windows Server 2012 R2 Web Application Proxy
1. 选择-管理工具-远程访问
2. 选择-发布
3. 选择-下一步
选择-传递
4. 选择-下一步
1-Skype for Business Server 2015-1-SFBFE01-External Web Services
https://SFBFEPool01.i-x-Cloud.com
https://SFBFEPool01.i-x-Cloud.com:4443
5. 选择-下一步
Add-WebApplicationProxyApplication -BackendServerUrl 'https://sfbfepool01.i-x-cloud.com:4443/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://sfbfepool01.i-x-cloud.com/' -Name '1-Skype for Business Server 2015-1-SFBFE01-External Web Services' -ExternalPreAuthentication PassThrough
6. 选择-发布
7. 选择-关闭
8. 批量-PS
#样例:
Add-WebApplicationProxyApplication -BackendServerUrl 'https://sfbfepool01.i-x-cloud.com:4443/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://sfbfepool01.i-x-cloud.com/' -Name '1-Skype for Business Server 2015-1-SFBFE01-External Web Services' -ExternalPreAuthentication PassThrough
#命令行:
Add-WebApplicationProxyApplication -BackendServerUrl 'https://sfbfepool01.i-x-cloud.com:4443/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://sfbfepool01.i-x-cloud.com/' -Name '1-Skype for Business Server 2015-1-SFBFE01-External Web Services' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://meet.i-x-cloud.com:4443/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://meet.i-x-cloud.com/' -Name '1-Skype for Business Server 2015-2-SFBFE01-Meeting URL' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://dialin.i-x-cloud.com:4443/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://dialin.i-x-cloud.com/' -Name '1-Skype for Business Server 2015-3-SFBFE01-Dialin URL' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://lyncdiscover.i-x-cloud.com:4443/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://lyncdiscover.i-x-cloud.com/' -Name '1-Skype for Business Server 2015-4-SFBFE01-Discover URL' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://OWAS01.i-x-cloud.com/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://OWAS01.i-x-cloud.com/' -Name '2-Office Web Apps Server 2013-1-hosting-discovery -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://DC01.i-x-cloud.com:44444/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://DC01.i-x-cloud.com/' -Name '3-Active Directory Certificate Services-1-Certsrv' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://mail.i-x-cloud.com/ECP/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://mail.i-x-cloud.com/ECP/' -Name '4-Exchange Server 2013-1-OWA-1-ECP' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://mail.i-x-cloud.com/OWA/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://mail.i-x-cloud.com/OWA/' -Name '4-Exchange Server 2013-1-OWA-2-OWA' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://i-x-Cloud.com/AutoDiscover/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://i-x-Cloud.com/AutoDiscover/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-1-1-AutoDiscover' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://i-x-Cloud.com/ews/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://i-x-Cloud.com/ews/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-1-2-ews' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://i-x-Cloud.com/OAB/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://i-x-Cloud.com/OAB/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-1-3-OAB' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://i-x-Cloud.com/rpc/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://i-x-Cloud.com/rpc/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-1-4-rpc' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://mail.i-x-Cloud.com/AutoDiscover/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://mail.i-x-Cloud.com/AutoDiscover/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-2-1-AutoDiscover' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://mail.i-x-Cloud.com/ews/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://mail.i-x-Cloud.com/ews/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-2-2-ews' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://mail.i-x-Cloud.com/OAB/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://mail.i-x-Cloud.com/OAB/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-2-3-OAB' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://mail.i-x-Cloud.com/rpc/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://mail.i-x-Cloud.com/rpc/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-2-4-rpc' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://Autodiscover.i-x-cloud.com/AutoDiscover/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://Autodiscover.i-x-cloud.com/AutoDiscover/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-3-1-AutoDiscover' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://Autodiscover.i-x-cloud.com/ews/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://Autodiscover.i-x-cloud.com/ews/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-3-2-ews' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://Autodiscover.i-x-cloud.com/OAB/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://Autodiscover.i-x-cloud.com/OAB/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-3-3-OAB' -ExternalPreAuthentication PassThrough
Add-WebApplicationProxyApplication -BackendServerUrl 'https://Autodiscover.i-x-cloud.com/rpc/' -ExternalCertificateThumbprint 'A97FF419192BE1899B27DF32EBFC71EA3AFF4A04' -ExternalUrl 'https://Autodiscover.i-x-cloud.com/rpc/' -Name '4-Exchange Server 2013-2-Outlook Anywhere-3-4-rpc' -ExternalPreAuthentication PassThrough
Get-WebApplicationProxyApplication | Set-WebApplicationProxyApplication -DisableTranslateUrlInRequestHeaders:$false
9. 修改-规则
修改:
改成:252
10. 测试
路由器:未应用前。
路由器:应用后。
1.证书
https://DC01.i-x-Cloud.com/Certsrv
下载-证书
安装-证书
2.测试
https://owas01.i-x-cloud.com/hosting/discovery