Community discussions

MikroTik App
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

simple routing on HOTSPOT SYSTEM

Thu Jul 19, 2007 9:48 am

Hi.. all
Need help on setup Hotspot with 2 connection from my ISP
I want to route user1 to Gw1 and route user2 to GW2.
I already succeed this configuration without Installing Hotspot.
But after installing hotspot all user can not go in
Anyone can assist ?
Thanks
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: simple routing on HOTSPOT SYSTEM

Thu Jul 19, 2007 11:22 am

Disable 'transparent-proxy' for the HotSpot users in HotSpot user profile configuration.
Try once again, provide us with configuration for the routing.
Both of them do not work correctly or one of the user is able to acess the Internet ?
 
serthan
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Sat Jun 16, 2007 10:49 am

Re: simple routing on HOTSPOT SYSTEM

Thu Jul 19, 2007 11:45 am

Zong, my email address serthan@gmail.com can we comminicate each other, i am also working on hotspot configure.
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

Re: simple routing on HOTSPOT SYSTEM

Thu Jul 19, 2007 12:33 pm

Disable 'transparent-proxy' for the HotSpot users in HotSpot user profile configuration.
Try once again, provide us with configuration for the routing.
Both of them do not work correctly or one of the user is able to acess the Internet ?
already disable transparent proxy but still stay the same
here my config. for the routing

[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
1 ;;; masquerade hotspot network
chain=srcnat src-address=172.30.5.0/24 action=masquerade

ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting src-address=172.30.5.1 action=mark-routing
new-routing-mark=link1 passthrough=yes
1 chain=prerouting src-address=172.30.5.2 action=mark-routing
new-routing-mark=link2 passthrough=yes

[admin@MikroTik] ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 10.97.20.0/24 10.97.20.221 ether3
1 ADC 172.30.5.0/24 172.30.5.221 lan
2 ADC 192.168.1.0/24 192.168.1.221 ether2
3 A S 0.0.0.0/0 r 192.168.1.254 ether2 --> routing-mark=link1
4 A S 0.0.0.0/0 r 10.97.20.220 ether3 ---> routing-mark=link2

with above config. without hotspot, routing work normaly. i.e user1 --> link1, user2---> link2
but after installing hotspot both user can not work. except if i release the gateway without routing-mark=link1, both user can go in only to link1
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

Re: simple routing on HOTSPOT SYSTEM

Thu Jul 19, 2007 12:42 pm

Zong, my email address serthan@gmail.com can we comminicate each other, i am also working on hotspot configure.
ok.. check your inbox
 
zong
newbie
Topic Author
Posts: 27
Joined: Thu Sep 29, 2005 2:13 pm

Re: simple routing on HOTSPOT SYSTEM

Sat Jul 21, 2007 6:17 am

anyone can assist pls...

Who is online

Users browsing this forum: No registered users and 15 guests