Community discussions

MikroTik App
 
dadegaza
just joined
Topic Author
Posts: 9
Joined: Sun Feb 28, 2010 5:27 pm

cant acces loacal server

Sun Feb 28, 2010 6:18 pm

:shock: hi there

i have network weth local file server
when i enabel hotspot server in cant acces the file serve or ping it from any user pc
is ther any way to solve this proplem :shock:
You do not have the required permissions to view the files attached to this post.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: cant acces loacal server

Sun Feb 28, 2010 7:44 pm

That would be localnet access. The requests from the localnet to 192.168 1.100 don't (or shouldn't) go through the hotspot. Your ip/netmask on the gateway is 192.168.1.1/24, correct? Also check "/ip dhcp-server network" to see if the netmask is correct.

And I presume the client ips increment. They are not all 192.168.1.101, correct?
 
dadegaza
just joined
Topic Author
Posts: 9
Joined: Sun Feb 28, 2010 5:27 pm

Re: cant acces loacal server

Sun Feb 28, 2010 9:59 pm

hi
thanks for reply

user ip is 192.168.1.102-192.168.1.103
i used mikrotkOS as pppoe server 4 yaers ago and evry thig ok all yoser can acces the net and the local file server
i tray to use it as hotspot server user can see login page and login to internet but after enabel the hotspot they cant acces the file server or ping it if i disabel the hotspot server the user can ping any pc in my network and access the file server
my seting is

/ip dhcp-server> pr
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 dhcp1 ether1 hs-pool-1 1h



[admin@MikroTik] /ip dhcp-server network> pr
# ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN
0 ;;; hotspot network
192.168.1.0/24 192.168.1.1



/ip hotspot profile
set default dns-name="" hotspot-address=0.0.0.0 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
name=default rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
use-radius=no
add dns-name="" hotspot-address=192.168.1.1 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
name=hsprof1 rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
use-radius=no
/ip hotspot
add address-pool=hs-pool-1 addresses-per-mac=2 disabled=no idle-timeout=5m \
interface=ether1 keepalive-timeout=none name=hotspot1 profile=hsprof1
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=\
1 status-autorefresh=1m transparent-proxy=no
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add comment="" disabled=no name=hass password=dream profile=default


is there any thing i miss ???
 
dadegaza
just joined
Topic Author
Posts: 9
Joined: Sun Feb 28, 2010 5:27 pm

Re: cant acces loacal server

Sun Feb 28, 2010 10:03 pm

hi
thanks for reply

user ip is 192.168.1.102-192.168.1.103
i used mikrotkOS as pppoe server 4 yaers ago and evry thig ok all yoser can acces the net and the local file server
i tray to use it as hotspot server user can see login page and login to internet but after enabel the hotspot they cant acces the file server or ping it if i disabel the hotspot server evry thing work fin and user can ping any users PC and can access the file server
my seting is

/ip dhcp-server> pr
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 dhcp1 ether1 hs-pool-1 1h



[admin@MikroTik] /ip dhcp-server network> pr
# ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN
0 ;;; hotspot network
192.168.1.0/24 192.168.1.1



/ip hotspot profile
set default dns-name="" hotspot-address=0.0.0.0 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
name=default rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
use-radius=no
add dns-name="" hotspot-address=192.168.1.1 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
name=hsprof1 rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
use-radius=no
/ip hotspot
add address-pool=hs-pool-1 addresses-per-mac=2 disabled=no idle-timeout=5m \
interface=ether1 keepalive-timeout=none name=hotspot1 profile=hsprof1
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=\
1 status-autorefresh=1m transparent-proxy=no
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add comment="" disabled=no name=hass password=dream profile=default


is there any thing i miss ???
 
dadegaza
just joined
Topic Author
Posts: 9
Joined: Sun Feb 28, 2010 5:27 pm

Re: cant acces loacal server

Sun Mar 07, 2010 1:42 pm

hi
any bode can hellp
i still cant ping any host from any host so i cant access the file server or ping it from any host when i enabel the hotsopt server

plz hellp me
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: cant acces loacal server

Sun Mar 07, 2010 1:50 pm

What interface is this hotspot on? It looks like ether1. That is normally my wan interface. What interface is your wan connection?

This might not help:
/ip hotspot profile
set default dns-name="" hotspot-address=0.0.0.0 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap \
name=default rate-limit="" smtp-server=0.0.0.0 split-user-domain=no \
use-radius=no
That should be "hotspot-address=192.168.1.1".

EDIT: I see that hotspot-address was changed in a subsequent edit. Best for me if you use
/ip hotspot profile print

Who is online

Users browsing this forum: intania, jasweb, Kanzler, Marc1963, raiser, vesuviustreamline and 210 guests