Em 27/01/2012 15:48, Marcio Rufino escreveu: > Bem... ainda nao tive êxito no funcionamento mas estou caminhando. Vou > mostrar o que fiz. > No meu DNS externo criei a entrada para teste.meudominio.com.br > No fw fiz um rdr chegando na 80 do teste.meudominio.com.br para 80 do > meu server de paginas na DMZ. > No server de paginas habilitei o mod_proxy e criei o seguinte virtual > host: > <VirtualHost teste.meudominio.com.br:80> > ServerName teste.meudominio.com.br > ProxyPass / http://192.168.10.33:8888 > ProxyPassReverse / http://192.168.10.33:8888 > </VirtualHost> > Externamente, acessando teste.meudominio.com.br nao redireciona para a > 8888 do server acima. > Alguem sabe dizer se falta algo ou se algo esta errado? > Obrigado.
Não se esquece de liberar e tambem redirecionar as portas no firewall para a porta 8888. Você tem mais servidores que precisa de acesso externo, pois poderá muito bem fazer 1:1 no PFSense e pronto seu servidor é um servidor acessivel pela internet. Creio que seria mais interessante usar o NAT 1:1 e o Vhosts do apache, assim não se mataria com tanta configurações !! > __________________________________________________________________ > > Em 26/01/2012 18:02, Luiz Gustavo S. Costa< > luizgust...@luizgustavo.pro.br> escreveu: > mod_proxy do apache, como exemplifiquei > * Marcio Rufino (marcioruf...@zipmail.com.br) wrote: > > Luiz, > > o servidor de paginas esta numa dmz e redirecionará para portas em > > outros IPs. > > Infelizmente até agora nao encontrei nada que diga como direcionar > > para outros IPs apenas para o mesmo que o servidor de paginas. > > __________________________________________________________________ > > > > Em 26/01/2012 11:02, Luiz Gustavo S. Costa< > > luizgust...@luizgustavo.pro.br> escreveu: > > Eu não sei como esta a sua estrutura, mas imagino que seu servidor > de > > páginas (apache?) esteja atrás de um firewall (em uma DMZ), dessa > > forma, > > você deve ter varios redirecionamentos de porta... se a coisa > estiver > & gt; sendo redirecionada somente para um servidor (apache) você pode > fazer > > toda a configuração nesse apache, agora se for servidores destintos > > (como citei no exemplo), você precisará de um apache (para o caso > de > > baseado em nomes) na frente deles. O Pfsense por exemplo tem um > package > > que faz esse trabalho (mod_apache_security). > > Dê uma analisada no seu cenário. > > Abraços > > * Marcio Rufino (marcioruf...@zipmail.com.br) wrote: > > > Luiz, > > > no caso seria para um servidor de páginas, correto? Onde ele iria > > > fazer redirecionamentos pelo apache... > > > __________________________________________________________________ > > > > > > Em 26/01/2012 09:54, Luiz Gustavo S. Costa< > > > luizgust...@luizgustavo.pro.br> escreveu: > > > Nem tanto, é possivel fazer redirecionamento ba seado em nome > (dns) > > > Veja esquema de proxy no apache, assim, crie VirtualHost apontando > > para > > > ip, e pode-se basear em nomes de dominio: > > > [1][1][1]http://sistemaxyz.meudominio.com.br -> > > [2][2][2]http://192.168.0.30:8080 > > > [3][3][3]http://sitedojose.meudominio.com.br -> > > [4][4][4]http://192.168.0.60:9090 > > > [5][5][5]http://painel.meudominio.com.br -> > > [6][6][6]http://192.168.0.120:5000 > > > e assim vai.... > > > * Alexandre Silva Nano (alexna...@gmail.com) wrote: > > &g t;&g t; Cara... Você consegue fazer isso com redirecionamento de > > portas, > > > porém > > > > deverá possuir um range de ip's válidos para poder contemplar > > > isso... > > > > > > > > Seria da seguinte forma. Exemplos: > > > > > > > > Http://200.200.200.201 (meusite na porta 8080) > > > > > > > > [7][7][7]http://200.200.200.202 (meusite na porta 9095).... E > assim > > por > > > diante! > > > > > > > > Em 26 de janeiro de 2012 09:32, Marcio Rufino > > > > escreveu: > > > > > > > > > Não sei se essa é uma conf no apache ou fw mesmo. > > > > > Tenho alguns sites na web mas infelizmente eles passam a porta > no > > > > > navegador. > > > > > Gostaria de saber como mascarar isso. > > > > > Ao invés de [8][8][8]http://meusite:8080/pagina ou > > > [9][9][9]http://meusite:9095/pagina > > > > > ... aparece r apenas [10][10][10]http://meusite, mas rodando > na > 8080 > > mesmo. > > > > > O problema que estou tendo é que quando alguém do comercial > vai > > > > > apresentar em clientes, essas portas estão fechadas. > > > > > Obrigado! > > > > > ------------------------- > > > > > Histórico: > [11][11][11]http://www.fug.com.br/historico/html/freebsd/ > > > > > Sair da lista: [12][12][12]https ://www.fug.com. > > br/mailman/listinfo/freebsd > > > > > > > > > > > > > > > > > > > > > -- > > > > Att, Alexandre Silva Nano > > > > Tecnólogo em Gestão de Redes de Computadores, UNIFACS > > > > Enterasys Security Systems Engineer - IPS/SIEM > > > > Enterasys Certified Specialist - NAC > > > > > > > > [13][13][13]www.ideiadigital.co m.br > > > > ------------------------- > > > > Histórico: > [14][14][14]http://www.fug.com.br/historico/html/freebsd/ > > > > Sair da lista: > > [15][15][15]https://www.fug.com.br/mailman/listinfo/freebsd > > > --- > > > Luiz Gustavo Costa (Powered by BSD) > > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > & gt; mundoUnix - Consultoria em Software Livre > > > [16][16][16]http://www.mundounix.com.br > > > ICQ: 2890831 / MSN: cont...@mundounix.com.br > > > Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407 > > > Blog: [17][17][17]http://www.luizgustavo.pro.br > > > ------------------------- > > > Histórico: > [18][18][18]http://www.fug.com.br/historico/html/freebsd/ > > > Sair da lista: > > [19][19][19]https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > Refe rences > > > > > > 1. [20][20]http://sistemaxyz.meudominio.com.br/ > > > 2. [21][21]http://192.168.0.30:80 80/ > > > 3. [22][22]http://sitedojose.meudominio.com.br/ > > > 4. [23][23]http://192.168.0.60:9090/ > > > 5. [24][24]http://painel.meudominio.com.br/ > > > 6. [25][25]http://192.168.0.120:5000/ > > > 7. [26][26]http://200.200.200.202/ > > > 8. [27][27]http://meusite:8080/pagina > > > 9. [28][28]http://meusite:9095/pagina > > > 10. [29][29]http://meusite/ > > > 11. [30][30]http://www.fug.com.br/historico/html/freebsd/ > > > 12. [31][31]https://www.fug.com.br/mailman/listinfo/freebsd > > > 13. [32][32]http://www.ideiadigital.com.br/ > > > 14. [33][33]http://www.fug.com.br/historico/html/freebsd/ > > > 15. [34][34]https://www.fug.com.br/mailman/listinfo/freebsd > > > 16. [35][35]http://www.mundounix.com.br/ > > > 17. [36][36]http://www.luizgustavo.pro.br/ > > > 18. [37][37]http://www.fug.com.br/historico/html/freebsd/ > > > 19. [38][38]https://www.fug.com.br/mailman/listinfo/freebsd > > & gt; ------------------------- > > > Histórico: [39][39]http://www.fug.com.br/historico/html/freebsd/ > > > Sair da lista: > [40][40]https://www.fug.com.br/mailman/listinfo/freebsd > > --- > > Luiz Gustavo Costa (Powered by BSD) > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > > mundoUnix - Consultoria em Software Livre > > [41][41]http://www.mundounix.com.br > > ICQ: 2890831 / MSN: cont...@mundounix.com.br > > Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407 > > Blog: [42][42]http://www.luizgustavo.pro.br > > ------------------------- > > Histórico: [43][43]http://www.fug.com.br/historico/html/freebsd/ > > Sair da lista: > [44][44]https://www.fug.com.br/mailman/listinfo/freebsd > > > > References > > > > 1. [45]http://sistemaxyz.meudominio.com.br/ > > 2. [46]http://192.168.0.30:8080/ > > 3. [47]http://sitedojose.meudominio.com.br/ > > 4. [48]http://192.168.0.60:9090/ > > 5. [49]http://painel.meudominio.com.br/ > > 6. [50]http://192.168.0.120:5000/ > > 7. [51]http://200.200.200.202/ > > 8. [52]http://meusite:8080/pagina > > 9. [53]http://meusite:9095/pagina > > 10. [54]http://meusite/ > > 11. [55]http://www.fug.com.br/historico/html/freebsd/ > > 12. [56]https://www.fug.com.br/mailm an/listinfo/freebsd > > 13. [57]http://www.ideiadigital.co/ > > 14. [58]http://www.fug.com.br/historico/html/freebsd/ > > 15. [59]https://www.fug.com.br/mailman/listinfo/freebsd > > 16. [60]http://www.mundounix.com.br/ > > 17. [61]http://www.luizgustavo.pro.br/ > > 18. [62]http://www.fug.com.br/historico/html/freebsd/ > > 19. [63]https://www.fug.com.br/mailman/listinfo/freebsd > > 20. [64]http://siste maxyz.meudominio.com.br/ > > 21. [65]http://192.168.0.30:8080/ > > 22. [66]http://sitedojose.meudominio.com.br/ > > 23. [67]http://192.168.0.60:9090/ > > 24. [68]http://painel.meudominio.com.br/ > > 25. [69]http://192.168.0.120:5000/ > > 26. [70]http://200.200.200.202/ > > 27. [71]http://meusite:8080/pagina > > 28. [72]http://meusite:9095/pagina > > 29. [73]http://meusite/ > > 30. [74]http://www.fug.com.br/historico/html/freebsd/ > > 31. [75]https://www.fug.com.br/mailman/listinfo/freebsd > > 32. [76]http://www.ideiadigital.com.br/ > > 33. [77]http://www.fug.com.br/historico/html/freebsd/ > > 34. [78]https://www.fug.com.br/mailman/listinfo/freebsd > > 35. [79]http://www.mundounix.com.br/ > > 36. [80]http://www.luizgustavo.pro.br/ > > 37. [81]http://www.fug.com.br/historico/html/freebsd/ > > 38. [82]https://www.fug.com.br/mailman/listinfo/freebsd > > 39. [83]http://www.fug.com.br/historico/html/freebsd/ > > 40. [84]https://www.fug.com.br/mailman/listinfo/freebsd > > 41. [85]http://www.mundounix.com.br/ > > 42. [86]http://www.luizgustavo.pro.br/ > > 43. [87]http://www.fug.com.br/historico/html/freebsd/ > > 44. [88]https://www.fug.com.br/mailman/listinfo/freebsd > > ------------------------- > > Histórico: [89]http://www.fug.com.br/historico/html/freebsd/ > > Sair da lista: [90]https://www.fug.com.br/mailman/listinfo/freebsd > --- > Luiz Gustavo Costa (Powered by BSD) > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > mundoUnix - Consultoria em Software Livre > [91]http://www.mundounix.com.br > ICQ: 2890831 / MSN: cont...@mundounix.com.br > Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407 > Blog: [92]http://www.luizgustavo.pro.br > ------------------------- > Histórico: [93]http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: [94]https://www.fug.com.br/mailman/listinfo/freebs d > > References > > 1. http://sistemaxyz.meudominio.com.br/ > 2. http://192.168.0.30:8080/ > 3. http://sitedojose.meudominio.com.br/ > 4. http://192.168.0.60:9090/ > 5. http://painel.meudominio.com.br/ > 6. http://192.168.0.120:5000/ > 7. http://200.200.200.202/ > 8. http://meusite:8080/pagina > 9. http://meusite:9095/pagina > 10. http://meusite/ > 11. http://www.fug.com.br/historico/html/freebsd/ > 12. https://www.fug.com/ > 13. http://www.ideiadigital.co/ > 14. http://www.fug.com.br/historico/html/freebsd/ > 15. https://www.fug.com.br/mailman/listinfo/freebsd > 16. http://www.mundounix.com.br/ > 17. http://www.luizgustavo.pro.br/ > 18. http://www.fug.com.br/historico/html/freebsd/ > 19. https://www.fug.com.br/mailman/listinfo/freebsd > 20. http://sistemaxyz.meudominio.com.br/ > 21. http://192.168.0.30/ > 22. http://sitedojose.meudominio.com.br/ > 23. http://192.168.0.60:9090/ > 24. http://painel.meudominio.com.br/ > 25. http://192.168.0.120:5000/ > 26. http://200.200.200.202/ > 27. http://meusite:8080/pagina > 28. http://meusite:9095/pagina > 29. http://meusite/ > 30. http://www.fug.com.br/historico/html/freebsd/ > 31. https://www.fug.com.br/mailman/listinfo/freebsd > 32. http://www.ideiadigital.com.br/ > 33. http://www.fug.com.br/historico/html/freebsd/ > 34. https://www.fug.com.br/mailman/listinfo/freebsd > 35. http://www.mundounix.com.br/ > 36. http://www.luizgustavo.pro.br/ > 37. http://www.fug.com.br/historico/html/freebsd/ > 38. https://www.fug.com.br/mailman/listinfo/freebsd > 39. http://www.fug.com.br/historico/html/freebsd/ > 40. https://www.fug.com.br/mailman/listinfo/freebsd > 41. http://www.mundounix.com.br/ > 42. http://www.luizgustavo.pro.br/ > 43. http://www.fug.com.br/historico/html/freebsd/ > 44. https://www.fug.com.br/mailman/listinfo/freebsd > 45. http://sistemaxyz.meudominio.com.br/ > 46. http://192.168.0.30:8080/ > 47. http://sitedojose.meudominio.com.br/ > 48. http://192.168.0.60:9090/ > 49. http://painel.meudominio.com.br/ > 50. http://192.168.0.120:5000/ > 51. http://200.200.200.202/ > 52. http://meusite:8080/pagina > 53. http://meusite:9095/pagina > 54. http://meusite/ > 55. http://www.fug.com.br/historico/html/freebsd/ > 56. https://www.fug.com.br/mailman/listinfo/freebsd > 57. http://www.ideiadigital.co/ > 58. http://www.fug.com.br/historico/html/freebsd/ > 59. https://www.fug.com.br/mailman/listinfo/freebsd > 60. http://www.mundounix.com.br/ > 61. http://www.luizgustavo.pro.br/ > 62. http://www.fug.com.br/historico/html/freebsd/ > 63. https://www.fug.com.br/mailman/listinfo/freebsd > 64. http://sistemaxyz.meudominio.com.br/ > 65. http://192.168.0.30:8080/ > 66. http://sitedojose.meudominio.com.br/ > 67. http://192.168.0.60:9090/ > 68. http://painel.meudominio.com.br/ > 69. http://192.168.0.120:5000/ > 70. http://200.200.200.202/ > 71. http://meusite:8080/pagina > 72. http://meusite:9095/pagina > 73. http://meusite/ > 74. http://www.fug.com.br/historico/html/freebsd/ > 75. https://www.fug.com.br/mailman/listinfo/freebsd > 76. http://www.ideiadigital.com.br/ > 77. http://www.fug.com.br/historico/html/freebsd/ > 78. https://www.fug.com.br/mailman/listinfo/freebsd > 79. http://www.mundounix.com.br/ > 80. http://www.luizgustavo.pro.br/ > 81. http://www.fug.com.br/historico/html/freebsd/ > 82. https://www.fug.com.br/mailman/listinfo/freebsd > 83. http://www.fug.com.br/historico/html/freebsd/ > 84. https://www.fug.com.br/mailman/listinfo/freebsd > 85. http://www.mundounix.com.br/ > 86. http://www.luizgustavo.pro.br/ > 87. http://www.fug.com.br/historico/html/freebsd/ > 88. https://www.fug.com.br/mailman/listinfo/freebsd > 89. http://www.fug.com.br/historico/html/freebsd/ > 90. https://www.fug.com.br/mailman/listinfo/freebsd > 91. http://www.mundounix.com.br/ > 92. http://www.luizgustavo.pro.br/ > 93. http://www.fug.com.br/historico/html/freebsd/ > 94. https://www.fug.com.br/mailman/listinfo/freebsd > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd -- "Quando a Morte decide contar uma historia, A melhor ação que possa fazer é ouvi-la, e torcer por não ser a sua própria a tal história." Flames > /dev/null ( by Irado !! ). RIP Irado! Paulo Henrique. Analista de Sistemas / Programador BSDs Brasil. Genuine Unix/BSD User. Fone: (21) 9683-5433. ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd