Community discussions

MUM Europe 2020
 
kvan64
Member Candidate
Member Candidate
Topic Author
Posts: 186
Joined: Tue Apr 10, 2007 1:54 pm
Location: Brisbane Australia
Contact:

Why is it invalid?

Sat Oct 27, 2007 4:23 pm

Hi, I tried to set up exemption for paypal website using walled-garden using suggested command lines in kiwi as below:
/ ip hotspot walled-garden add dst-host=:^www\\.paypal\\.com\$ dst-port=443 action=allow
/ ip hotspot walled-garden add dst-host=:^content\\.paypalobjects\\.com\$ dst-port=443 action=allow
It appears that something is wrong when I typed the backwards slashes as they were highlighted. Also when pressing enter key error message appeared:
expected end of command (line 1 column 46)
So, what is wrong here?
 
User avatar
krigevr
Member Candidate
Member Candidate
Posts: 155
Joined: Mon Aug 20, 2007 7:02 pm
Location: South Africa

Re: Why is it invalid?

Sat Oct 27, 2007 6:10 pm

The syntax on the dst-host command looks very strange...

dst-host=:^www\\.paypal\\.com\$
dst-host=:^content\\.paypalobjects\\.com\$

What does the ":^" mean, and why all the backslashes?

I'd imagine this would work:
dst-host="www.paypal.com/$"
dst-host="content.paypalobjects.com/$"
 
kvan64
Member Candidate
Member Candidate
Topic Author
Posts: 186
Joined: Tue Apr 10, 2007 1:54 pm
Location: Brisbane Australia
Contact:

Re: Why is it invalid?

Sun Oct 28, 2007 2:47 am

If it is wrong, it should be corrected in wiki.mikotik.com as many people would rely on it for assistance. I need my walled-garden exemption to work in order to do automatic payment set up in userman.

Who is online

Users browsing this forum: No registered users and 6 guests