publish a web page on BFW

BrazilFW help discussions in English.

publish a web page on BFW

Postby ahmed » Thu May 07, 2009 11:38 am

can i publish a web page on BFW
my gateway is 10.0.0.2
i want publish a page on BFW for example
when user open http://10.0.0.2 or http://ahmed.bfw
access the file index.html
and if i can make more than two partition on BFW H.D.D it would be better
thanks gamba47 here is another post
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Fri May 08, 2009 8:10 am

Here is one example

Directory were you have the files: /partition/web
Port to use: 80 (tcp)

Yo need to put this line in console mode:

Code: Select all
/usr/sbin/thttpd -u root -d /partition/web -nor -p 80 -c "/*"


If it works you can put this same line in /etc/rc.d/rc.local


Regards. gamba47


PS. thanks for make another post!
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Sun May 10, 2009 9:17 pm

:aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause: :aplause:

T H A N K Y O U GAMBA47
dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing dancing
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby ahmed » Sun May 10, 2009 9:29 pm

it's work with http://10.0.0.2
can i change the address http://10.0.0.2 to http://ahmed.bfw
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Mon May 11, 2009 5:30 pm

Yes you can

take a look of the file /etc/hosts.dns


gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Wed May 13, 2009 7:50 am

/etc/hosts.dns
Code: Select all
# Include here the IP and the names of your local machines
# you want to be resolved by Coyote DNS
# Format:
#IP_ADDRESS       HOST.DOMAIN         ALIAS
# Example
10.0.0.2 bfw http://ahmed.bfw #webhost

I made it like this but i got nothing
not working
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Wed May 13, 2009 2:48 pm

You need to reload firewall, then make a backup (if it works)


gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Wed May 13, 2009 8:51 pm

gamba47 wrote:You need to reload firewall, then make a backup (if it works)


gamba47


I did but nothing happen still not working
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Wed May 13, 2009 9:57 pm

You line is wrong

This is the correct line to use:

Code: Select all
10.0.0.2 bfw ahmed.bfw #webhost


Try again.

gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Thu May 14, 2009 2:25 am

i did but it's go to this link
Code: Select all
http://search.tedata.net/main?InterceptSource=0&ClientLocation=eg&ParticipantID=esrkzqp9pwh62lmydaf4wsy3i92taus2&FailureMode=1&SearchQuery=&FailedURI=http%3A%2F%2Fahmed.bfw%2F&AddInType=4&Version=2.1.35base&Referer=
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Thu May 14, 2009 7:11 am

Ok, first we need to know if DNS is working

On a Windows Machine do this:

Start ==> cmd (Hit enter)

Then

Code: Select all
tracert www.google.com

And say to us what is the first IP you see.

Next:
Code: Select all
ping bfw


and

Code: Select all
ping ahmed.bfw


Post the results.

gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Fri May 15, 2009 12:26 am

first
Code: Select all
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\DrDaeMoN>tracert www.google.com

Tracing route to www.l.google.com [209.85.227.104]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  10.0.0.2
  2   673 ms   789 ms   745 ms  1.1.1.2
  3   968 ms  1049 ms  1052 ms  ZGZIGE-R01C-SHR-EG [163.121.170.246]
  4  1354 ms  1592 ms  1347 ms  host-163.121.197.1.tedata.net [163.121.197.1]
  5  1039 ms  1126 ms   977 ms  host-163.121.198.197.tedata.net [163.121.198.197
]
  6   641 ms   688 ms   657 ms  host-163.121.185.149.tedata.net [163.121.185.149
]
  7   258 ms   181 ms   232 ms  pal6-telecom-egypt-1-eg.pal.seabone.net [213.144
.181.73]
  8   270 ms   239 ms   251 ms  72.14.196.141
  9   310 ms   306 ms   289 ms  ae-1-100.ebr1.Paris1.Level3.net [4.69.133.81]
10   206 ms   284 ms   202 ms  209.85.249.234
11   207 ms   221 ms   233 ms  72.14.232.208
12   227 ms   249 ms   257 ms  ae-11-51.car1.London1.Level3.net [4.69.139.66]
13   371 ms   369 ms   335 ms  209.85.251.231
14   341 ms   342 ms   339 ms  195.50.118.210
15   321 ms   331 ms   316 ms  209.85.255.76
16   297 ms   328 ms   329 ms  216.239.49.45
17   345 ms   353 ms   310 ms  ^C
C:\Documents and Settings\DrDaeMoN>


second


Code: Select all
C:\Documents and Settings\DrDaeMoN>ping bfw
Ping request could not find host bfw. Please check the name and try again.

C:\Documents and Settings\DrDaeMoN>ping bfw
Ping request could not find host bfw. Please check the name and try again.

C:\Documents and Settings\DrDaeMoN>




third

Code: Select all
C:\Documents and Settings\DrDaeMoN>ping ahmed.bfw

Pinging ahmed.bfw [92.242.144.5] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 92.242.144.5:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Documents and Settings\DrDaeMoN>

ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby ahmed » Fri May 15, 2009 12:42 am

Image
Image
Image
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby ahmed » Mon Jun 01, 2009 7:09 pm

What the matter
I posted the result.
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Mon Jun 01, 2009 7:19 pm

Sorry, i forgot your topic.


Please, revert your config

Try with this:

Code: Select all
bfw bfw.ahmed

or

ahmed ahmed.bfw


Reload and try again.

Post your results, i will help you. Soon or later we will fix your problem.


gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Wed Jun 03, 2009 12:59 am

bfw bfw.ahmed

or

ahmed ahmed.bfw


i did and also i tried
Code: Select all
brazilfw ahmed.bfw

in case brazilfw is my BFW host name
still not working
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Wed Jun 03, 2009 1:10 am

Last test.


In your BrazilFW box execute this lines:


Code: Select all
ping ahmed.bfw


Code: Select all
traceroute ahmed.bfw



gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Wed Jun 03, 2009 5:06 pm

by putty

Code: Select all
Exiting menu. To return to the menu, simply type "menu" and
hit ENTER from the command line.
ahmed# ping ahmed.bfw
PING ahmed.bfw (92.242.144.5) 56(84) bytes of data.


Code: Select all

Exiting menu. To return to the menu, simply type "menu" and
hit ENTER from the command line.
ahmed# traceroute ahmed.bfw
traceroute to ahmed.bfw (92.242.144.5), 30 hops max, 38 byte packets
1  1.1.1.2 (1.1.1.2)  1659.902 ms  1663.100 ms  1659.635 ms
2  ZGZIGE-R01C-SHR-EG (163.121.170.246)  1646.322 ms  1673.742 ms  1699.139 ms
3  host-163.121.197.1.tedata.net (163.121.197.1)  1672.489 ms  1664.096 ms  1670.512 ms
4  host-163.121.182.117.tedata.net (163.121.182.117)  1657.446 ms  1703.811 ms  1676.674 ms
5  host-163.121.185.149.tedata.net (163.121.185.149)  1665.313 ms  1670.513 ms  1668.529 ms
6  so-6-0-1.edge1.Paris1.Level3.net (212.73.206.13)  1811.666 ms  1795.647 ms  1804.525 ms
7  ae-31-51.ebr1.Paris1.Level3.net (4.68.109.30)  1812.655 ms ae-31-53.ebr1.Paris1.Level3.net (4.68.109.94)  1805.783 ms ae-31-55.ebr1.Paris1.Level3.net (4.68.109.158)  1828.978 ms
8  ae-1-100.ebr2.Paris1.Level3.net (4.69.133.82)  1806.493 ms  1819.832 ms  1804.521 ms
9  ae-42-42.ebr1.Frankfurt1.Level3.net (4.69.141.74)  1839.572 ms ae-71-71.csw2.Frankfurt1.Level3.net (4.69.140.6)  1817.868 ms  1826.015 ms
10  ae-62-62.ebr2.Frankfurt1.Level3.net (4.69.140.17)  1812.674 ms ae-82-82.ebr2.Frankfurt1.Level3.net (4.69.140.25)  1806.995 ms ae-61-61.csw1.Frankfurt1.Level3.net (4.69.140.2)  1820.326 ms
11  ae-92-92.ebr2.Frankfurt1.Level3.net (4.69.140.29)  1832.436 ms ae-82-82.ebr2.Frankfurt1.Level3.net (4.69.140.25)  1813.686 ms ae-72-72.ebr2.Frankfurt1.Level3.net (4.69.140.21)  1816.127 ms
12  ae-72-72.csw2.Washington1.Level3.net (4.69.134.150)  1907.940 ms ae-62-62.csw1.Washington1.Level3.net (4.69.134.146)  1907.230 ms  1903.264 ms
13  ae-91-91.ebr1.Washington1.Level3.net (4.69.134.141)  1894.644 ms ae-82-82.csw3.Washington1.Level3.net (4.69.134.154)  1881.805 ms ae-72-72.csw2.Washington1.Level3.net (4.69.134.150)  1900.057 ms
14  ae-71-71.ebr1.Washington1.Level3.net (4.69.134.133)  1928.421 ms  1894.636 ms ae-2.ebr3.Atlanta2.Level3.net (4.69.132.85)  1890.689 ms
15  ae-22-52.car2.Atlanta1.Level3.net (4.68.103.35)  1903.526 ms  1949.419 ms  1920.045 ms
16  ae-22-52.car2.Atlanta1.Level3.net (4.68.103.35)  1909.938 ms  1915.612 ms  1907.206 ms
17  WBS-CONNECT.car2.Atlanta1.Level3.net (4.78.211.166)  1888.705 ms 208.84.49.26 (208.84.49.26)  1922.274 ms  1925.482 ms
18  appsw.01.atl.barefruit.com (92.242.138.4)  1951.394 ms  1942.017 ms  1947.191 ms
19  92.242.144.5 (92.242.144.5)  1913.115 ms  1910.184 ms  1944.483 ms
ahmed#
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Wed Jun 03, 2009 5:21 pm

It seems to be a page with your address on internet, make a change:

Try with another hostname.


gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Thu Jun 04, 2009 12:57 am

still not working
dear friend take your time if you have a free time to test it on your BFW it would be better
for now it's oK access the page on http://10.0.0.2
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Thu Jun 04, 2009 12:37 pm

Please, send to me a PM with your msn and we will chat about this problem.

If we can solve this problem you will make a tutorial about this!! Ok ?


gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Sat Jun 06, 2009 12:20 am

ok :o!
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby ahmed » Mon Jul 13, 2009 12:06 am

there's a problem when using cative.tgz "user informer" it's block http://10.0.0.2 for all users
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby gamba47 » Mon Jul 13, 2009 12:21 am

I´m not using cative.tgz maybe you find your problem.


Regards. gamba47
Haga una donacion, por más minima que sea sirve. Muchas gracias.
Image
Visite este link para informarse ==> viewtopic.php?t=60901
User avatar
gamba47
Site Admin
 
Posts: 6802
Joined: Tue Dec 27, 2005 1:51 pm
Location: Buenos Aires, Argentina
BrazilFW box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.222 without Squid
4 ADSLs & 1 Cablemodem
50 Users

Re: publish a web page on BFW

Postby ahmed » Tue Jul 14, 2009 12:41 am

OK I'll try to fix it
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm

Re: publish a web page on BFW

Postby luapufo » Sat Jul 18, 2009 12:08 am

The CATIVE.TGZ, USA to port 80 to display the message,
otherwise, you are not able to host the function, which are using the DNS in this machine trying to access the configured host, you must be the IP of BFW and should be set to the DNS Cache of BFW
Suporte ONLINE -Via MSN, MP e EMAIL, TEM QUE PAGAR
http://www.sapw.com.br
Desenvolvido para Provedores de Internet
http://www.sg-wi-fi.com.br
Servidor Profissional e Material de Rede
https://pagseguro.uol.com.br/checkout/doacao.jhtml?email_cobranca=luapufo@hotmail.com&moeda=BRL
Suporte ONLINE para BrazilFW e SAPW
User avatar
luapufo
Site Admin
 
Posts: 6085
Joined: Wed Feb 21, 2007 11:18 am
Location: Alcantara - São Gonçalo

Re: publish a web page on BFW

Postby ahmed » Fri Jul 24, 2009 3:49 pm

I'll try it thank you
ahmed
BFW Novice
 
Posts: 62
Joined: Tue Dec 04, 2007 10:31 pm


Return to BrazilFW 2.x - English Forum

Who is online

Users browsing this forum: No registered users and 3 guests