Hi,
So, problem partialy solved ! Not the guest catching that is totaly unstable...
but know i give a simple url to the guest : "http://wifi" on which one he can connect really easy to arrive directly on portal without the need to enter an ip address with strange port (most of the people are really strangers with ip/port)
Here is my process if someone is interresting to do the same :
(i'm working on a guest vlan but you can do the same with lan or any other interface)
- service / DHCP / vlan guest : force DNS server on firewall IP ( = interna lresolution for the host)
- service unbound dns / overrides : create a host (A) named "wifi" pointing to firewall ip
- firewall / NAT / port forwarding : add a rule on vlan guest interface
(this rule will force http incomming to be nat to captive portal port)
- tcp
- dest single host : ip firewall/32
- port dest: http
- redirection single host:ip du firewall
- port redirection 8000
- firewall / rules / vlan guest : duplicate captive portal rule (8000-1000) and edit port to 80-80
it's work
Hope it can help someone