News: This forum is now permanently frozen.
Pages: [1]
Topic: Ping ok; web i can't access  (Read 3370 times)
« on: April 20, 2009, 17:03:33 »
candeias *
Posts: 3

Hello,
I've installed m0n0wall and i have no problem. However i ping www.google.com but I can not access to the page. Why?

Thanks
« Reply #1 on: April 21, 2009, 10:24:52 »
markb ****
Posts: 331

From your description, I would say that you haven't set it up correctly. is the short answer (As short as your description anyway)

As my crystal ball is up the spout this morning and I have no idea of how you set it up.  Any chance you could post a description of your setup including how yout WAN is connected and what other network interfaces you have along with a list of all rules and NAT entries.  A post of your xml file (With security bits removed) would be even more helpful.

Sorry to sound sarcastic, but please read the following. This topic and This one  Seriously mate, we are not mind readers we will try to help as much as we can but you have to give us something to work with.
« Reply #2 on: April 21, 2009, 18:54:52 »
candeias *
Posts: 3

Good afternoon!
I'm sorry for the short description...  Smiley  Smiley

Detailed description for what's happen : i've  installed monowall  and with the default's definitions i can ping www.google.com (for example) but i can't  access the page on the browser...
Any idea why???

Thank you
« Reply #3 on: April 21, 2009, 22:01:02 »
Fatboy *
Posts: 17

Have you set up a dns server adress on general setup page? (should be IP of your internet router on WAN)
« Reply #4 on: April 22, 2009, 10:29:07 »
markb ****
Posts: 331

If you are pinging google successfully, that should indicate that you have DNS working.

Can you describe how your internet connection is set up.  I.E. Do yuo have a cable broadband and hook into a cable modem via a cat 5 straight into the Monobox.  Or do you have a DSL connection and use an external DSL router to make the initial connection and then connect the monowall to this.  A diagram would be helpful.  How is the WAN interface configured (Static/DHCP/PPTP/PPPoE) How many other network interfaces do you have (LAN, Opt1 etc)

A post of the config file would really help.  Go into the web gui of the Monowall and expand the diagnostics section.  Click Backup/Restore and select backup.  Save the xml file somewhere, then open it and clear out any private information e.g. passwords static public IPs etc (All this stiff will be near the top)  Then post that file using the additional optiions available when creating a post/reply
« Reply #5 on: April 22, 2009, 13:04:30 »
candeias *
Posts: 3

Hello!
My connection is a dsl connection. I use a dsl router (CISCO) from my ISP provider to connect to the web. My WAN is configurated as Static Ip... I set the Ip adress for the wan and the gataway(the ip it's the same of the router). I just have 2 network's interfaces...
My xml file is:

<?xml version="1.0" ?>
- <m0n0wall>
  <version>1.8</version>
  <lastchange>1240393242</lastchange>
- <system>
  <hostname>m0n0wall</hostname>
  <domain>local</domain>
  <dnsallowoverride />
  <username>admin</username>
  <password>*************************</password>
  <timezone>Etc/UTC</timezone>
  <time-update-interval>300</time-update-interval>
  <timeservers>1.m0n0wall.pool.ntp.org</timeservers>
- <webgui>
  <protocol>http</protocol>
  <port />
  </webgui>
  <dnsserver>200.0.0.4</dnsserver>
  </system>
- <interfaces>
- <lan>
  <if>rl0</if>
  <ipaddr>200.0.1.20</ipaddr>
  <subnet>24</subnet>
  <media />
  <mediaopt />
  </lan>
- <wan>
  <if>fxp0</if>
  <blockpriv />
  <media />
  <mediaopt />
  <ipaddr>200.0.0.120</ipaddr>
  <subnet>29</subnet>
  <gateway>200.0.0.252</gateway>
  <spoofmac />
  </wan>
  </interfaces>
  <staticroutes />
  <pppoe />
  <pptp />
- <dyndns>
  <type>dyndns</type>
  <username />
  <password />
  <host />
  <mx />
  <server />
  <port />
  </dyndns>
  <dnsupdate />
- <dhcpd>
- <lan>
- <range>
  <from>192.168.1.100</from>
  <to>192.168.1.199</to>
  </range>
  </lan>
  </dhcpd>
- <pptpd>
  <mode />
  <nunits>16</nunits>
  <redir />
  <localip />
  <remoteip />
  </pptpd>
- <dnsmasq>
  <enable />
  </dnsmasq>
- <snmpd>
  <syslocation />
  <syscontact />
  <rocommunity>public</rocommunity>
  </snmpd>
  <diag />
  <bridge />
  <syslog />
  <nat />
- <filter>
- <rule>
  <type>pass</type>
  <descr>Default LAN -> any</descr>
  <interface>lan</interface>
- <source>
  <network>lan</network>
  </source>
- <destination>
  <any />
  </destination>
  </rule>
- <rule>
  <type>pass</type>
  <interface>lan</interface>
  <protocol>tcp</protocol>
- <source>
  <network>lan</network>
  </source>
- <destination>
  <any />
  </destination>
  <descr>Lan -> any</descr>
  </rule>
- <rule>
  <type>pass</type>
  <descr>Default IPsec VPN</descr>
  <interface>ipsec</interface>
- <source>
  <any />
  </source>
- <destination>
  <any />
  </destination>
  </rule>
- <rule>
  <type>pass</type>
  <interface>lan</interface>
  <protocol>tcp</protocol>
- <source>
  <address>200.0.1.30</address>
  </source>
- <destination>
  <any />
  </destination>
  <descr>Pc</descr>
  </rule>
  </filter>
  <shaper />
  <ipsec />
  <aliases />
  <proxyarp />
  <wol />
  </m0n0wall>

« Reply #6 on: April 23, 2009, 11:50:56 »
markb ****
Posts: 331

This is not a vanilla install.  The IP ranges that you are using internally are public IP's Do you own them? I seriously doubt that you own an entire 24 bit 200.0.1 subnet.  Also you have switched DHCP off.  If you do have a 29 bit subnet routed to you then your WAN IP address is wrong as 200.0.0.120 is the network address for a 29 bit subnet not a usable IP address.

If you want help, you have to supply all the information.

Lets start from the beginning.  What hardware do you have, (Makes and models of DSL routers etc) what service are you getting from your ISP (Number of Ip addresses etc and how they are supposed to be connected from the wording of the ISP) and finally what you are trying to achieve in terms of connectivity in and out.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines